Skip to content

Commit

Permalink
docs(cdk/schematics): more precise warning for inexistent tsconfig (a…
Browse files Browse the repository at this point in the history
…ngular#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.
  • Loading branch information
jeripeierSBB authored and forsti0506 committed Apr 3, 2022
1 parent 9f9b43c commit 20c74aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cdk/schematics/ng-update/devkit-migration-rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ export function createMigrationSchematicRule(
const testTsconfigPath = getTargetTsconfigPath(project, 'test');

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

Expand Down

0 comments on commit 20c74aa

Please sign in to comment.