From 540c29cd6bfc4124a30f5f8e7b599d326baf6af4 Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Wed, 20 May 2020 14:55:58 -0700 Subject: [PATCH] feat(dev-infra): migrate release tool to use new logging system (#37232) Migrate the release tool in ng-dev to use new logging system rather than directly calling console.* to create a better experience for users. PR Close #37232 --- dev-infra/release/BUILD.bazel | 1 + dev-infra/release/env-stamp.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/dev-infra/release/BUILD.bazel b/dev-infra/release/BUILD.bazel index bf2ffdd6db..065521461e 100644 --- a/dev-infra/release/BUILD.bazel +++ b/dev-infra/release/BUILD.bazel @@ -8,6 +8,7 @@ ts_library( module_name = "@angular/dev-infra-private/release", visibility = ["//dev-infra:__subpackages__"], deps = [ + "//dev-infra/utils", "@npm//@types/node", "@npm//@types/shelljs", "@npm//@types/yargs", diff --git a/dev-infra/release/env-stamp.ts b/dev-infra/release/env-stamp.ts index 97e0331b69..c882643aba 100644 --- a/dev-infra/release/env-stamp.ts +++ b/dev-infra/release/env-stamp.ts @@ -8,6 +8,8 @@ import {exec as _exec} from 'shelljs'; +import {info} from '../utils/console'; + /** * Log the environment variables expected by bazel for stamping. *