Skip to content

Commit 336ec89

Browse files
Apply suggestions from code review
Co-authored-by: Arman Boyakhchyan <[email protected]>
1 parent 2548d4c commit 336ec89

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/devextreme-cli/src/applications/application.angular.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ const migrateConfigComponents = async(options = {}) => {
199199
const response = await prompts({
200200
type: 'confirm',
201201
name: 'install',
202-
message: `Download '${collectionName}@${schematicsVersion}' temporarily to run the migration?`,
202+
message: `Would you like to install '${collectionName}@${schematicsVersion}' in the npm cache?`,
203203
initial: true
204204
});
205205

206206
if(!response.install) {
207-
console.log('Migration cancelled. You can install devextreme-schematics locally or globally and rerun the command.');
207+
console.log('Migration cancelled. Install devextreme-schematics manually and rerun the command.');
208208
process.exit(1);
209209
}
210210
}

packages/devextreme-schematics/src/migrate-config-components/template-migrator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export async function applyInlineComponentTemplateMigrations(
8383
exec.logger.warn(
8484
'[config-migrator] Failed to import TypeScript. Skipping inline template migration.\n' +
8585
(tsResolutionError ? `Error: ${tsResolutionError}\n` : '') +
86-
'Ensure the "typescript" package is installed in your project or reinstall DevExtreme Schematics.'
86+
'Ensure the "typescript" package is installed in your project. Try to reinstall DevExtreme Schematics if the issue persists.'
8787
);
8888
return;
8989
}

0 commit comments

Comments
 (0)