Skip to content

Commit

Permalink
fix(@angular-devkit/core): project extension warning message should i…
Browse files Browse the repository at this point in the history
…dentify concerned project

(cherry picked from commit 86150d9)
  • Loading branch information
AgentEnder authored and clydin committed Oct 7, 2022
1 parent 28b2cd1 commit ad69281
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/angular_devkit/core/src/workspace/json/reader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,10 @@ function parseProject(
break;
default:
if (!context.unprefixedProjectExtensions.has(name) && !/^[a-z]{1,3}-.*/.test(name)) {
context.warn(`Project extension with invalid name (${name}) found.`, name);
context.warn(
`Project '${projectName}' contains extension with invalid name (${name}).`,
name,
);
}
if (extensions) {
extensions[name] = value;
Expand Down

0 comments on commit ad69281

Please sign in to comment.