docs(bazel): improve error message for ng_package with no metadata (#22964)

PR Close #22964
This commit is contained in:
Fabian 2018-03-24 07:37:54 +13:00 committed by Victor Berchet
parent 3ed7fc6686
commit 5b25c07795
1 changed files with 2 additions and 0 deletions

View File

@ -274,6 +274,8 @@ function main(args: string[]): number {
// So ignore package.json files when we are missing data. // So ignore package.json files when we are missing data.
console.error('WARNING: no module metadata for package', packageName); console.error('WARNING: no module metadata for package', packageName);
console.error(' Not updating the package.json file to point to it'); console.error(' Not updating the package.json file to point to it');
console.error(
' The ng_module for this package is possibly missing the module_name attribute ');
return JSON.stringify(parsedPackage, null, 2); return JSON.stringify(parsedPackage, null, 2);
} }