From d965331cf604ed6e73dd08cb5d219f8ebc974ebf Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Thu, 4 Nov 2021 16:42:03 +0100 Subject: [PATCH] refactor(bazel): fix typo in packager action file comments (#44061) Fixes two typoes in the packager logic. PR Close #44061 --- packages/bazel/src/ng_package/packager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/bazel/src/ng_package/packager.ts b/packages/bazel/src/ng_package/packager.ts index 4305a46a63a..edf60fc7b4a 100644 --- a/packages/bazel/src/ng_package/packager.ts +++ b/packages/bazel/src/ng_package/packager.ts @@ -450,7 +450,7 @@ function main(args: string[]): void { es2015: normalizePath(fesm2015OutRelativePath), // We declare the `node` condition and point to the ES2015 output as we currently still // support NodeJS v12 which does not fully support ES2020 output. We chose ES2015 over - // ES2029 because we wan async/await downleveled as this allows for patching withZoneJS. + // ES2020 because we wan async/await downleveled as this allows for patching withZoneJS. // TODO(devversion): remove/replace this if NodeJS v12 is no longer supported. node: normalizePath(fesm2015OutRelativePath), // Note: The default conditions needs to be the last one. @@ -482,7 +482,7 @@ function main(args: string[]): void { for (const conditionName of Object.keys(mapping) as [keyof ConditionalExport]) { if (subpathExport[conditionName] !== undefined) { throw Error( - `Found a conflicting export condition for "${subpath}". The "${conditionName} ` + + `Found a conflicting export condition for "${subpath}". The "${conditionName}" ` + `condition would be overridden by the packager. Please unset it.`); }