docs(bazel): improve error message for ng_package with no metadata (#22964)
PR Close #22964
This commit is contained in:
parent
3ed7fc6686
commit
5b25c07795
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue