From 9e78f55c3275299d5b3da35d8d08875332a7180a Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Wed, 8 Apr 2020 17:37:04 -0700 Subject: [PATCH] style: typescript lint fix (#36531) PR Close #36531 --- tools/ts-api-guardian/lib/cli.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/ts-api-guardian/lib/cli.ts b/tools/ts-api-guardian/lib/cli.ts index 0b2c525268..d6e8e5605e 100644 --- a/tools/ts-api-guardian/lib/cli.ts +++ b/tools/ts-api-guardian/lib/cli.ts @@ -95,8 +95,8 @@ export function startCli() { lines.pop(); // Remove trailing newline } for (const line of lines) { - const chalkMap: {[key: string]: - any} = {'-': chalk.red, '+': chalk.green, '@': chalk.cyan}; + const chalkMap: + {[key: string]: any} = {'-': chalk.red, '+': chalk.green, '@': chalk.cyan}; const chalkFunc = chalkMap[line[0]] || chalk.reset; console.log(chalkFunc(line)); } @@ -109,7 +109,7 @@ export function startCli() { if (bazelTarget) { console.error('\n\nIf you modify a public API, you must accept the new golden file.'); console.error('\n\nTo do so, execute the following Bazel target:'); - console.error(` yarn bazel run ${bazelTarget.replace(/_bin$/, "")}.accept`); + console.error(` yarn bazel run ${bazelTarget.replace(/_bin$/, '')}.accept`); if (process.env['TEST_WORKSPACE'] === 'angular') { console.error('\n\nFor more information, see'); console.error(