Skip to content

Commit 73008a4

Browse files
authored
docs(cdk/schematics): more precise warning for inexistent tsconfig (#24513)
Previously the message was not very clear about what happened if reading the warning. The new wording states that a project is skipped during migrations which should be clearer to users.
1 parent 508b7ac commit 73008a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cdk/schematics/ng-update/devkit-migration-rule.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ export function createMigrationSchematicRule(
9191
const testTsconfigPath = getTargetTsconfigPath(project, 'test');
9292

9393
if (!buildTsconfigPath && !testTsconfigPath) {
94-
logger.warn(`Could not find TypeScript project for project: ${projectName}`);
94+
logger.warn(
95+
`Skipping migration for project ${projectName}. Unable to determine 'tsconfig.json' file in workspace config.`,
96+
);
9597
continue;
9698
}
9799

0 commit comments

Comments
 (0)