build(bazel): fix typos in comments (#25172)

PR Close #25172
This commit is contained in:
Greg Magolan 2018-07-27 14:25:23 -07:00 committed by Igor Minar
parent a87d44c187
commit f82b6b2ed7
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
# found in the LICENSE file at https://angular.io/license # found in the LICENSE file at https://angular.io/license
""" Public API surface is re-exported here. """ Public API surface is re-exported here.
This API is exported for user's building angular from source in downstream This API is exported for users building angular from source in downstream
projects. The rules from packages/bazel are re-exported here as well projects. The rules from packages/bazel are re-exported here as well
as the ng_setup_workspace repository rule needed when building angular as the ng_setup_workspace repository rule needed when building angular
from source downstream. Alternately, this API is available from the from source downstream. Alternately, this API is available from the

View File

@ -207,7 +207,7 @@ export function compile({allowNonHermeticReads, allDepsCompiledWithBazel = true,
if (fileName === if (fileName ===
path.join(compilerOpts.baseUrl, bazelOpts.package, compilerOpts.flatModuleOutFile + '.ts')) path.join(compilerOpts.baseUrl, bazelOpts.package, compilerOpts.flatModuleOutFile + '.ts'))
return true; return true;
// Also handle the case when angular is build from source as an external repository // Also handle the case when angular is built from source as an external repository
if (fileName === if (fileName ===
path.join( path.join(
compilerOpts.baseUrl, 'external/angular', bazelOpts.package, compilerOpts.baseUrl, 'external/angular', bazelOpts.package,