Skip to content

Commit 7c475e6

Browse files
NathanWalkerrigor789
authored andcommitted
fix: compat message updates
1 parent 0c01ddd commit 7c475e6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/controllers/migrate-controller.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ export class MigrateController
337337
});
338338
if (shouldMigrate) {
339339
this.$errors.fail(
340-
`The current application is not compatible with NativeScript CLI 7.0.\n\nRun 'ns migrate' to migrate your project to NativeScript 7.\n\nAlternatively you may try running it with '--force' to skip this check.`
340+
`The current application is not compatible with NativeScript CLI 8.0.\n\nRun 'ns migrate' to migrate your project to NativeScript 7.\n\nAlternatively you may try running it with '--force' to skip this check.`
341341
);
342342
}
343343
}

lib/services/marking-mode-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const enum MarkingMode {
1414
}
1515

1616
const MARKING_MODE_PROP = "markingMode";
17-
const MARKING_MODE_FULL_DEPRECATION_MSG = `In NativeScript 7.0 "${MARKING_MODE_PROP}:${MarkingMode.Full}" is no longer supported.`;
17+
const MARKING_MODE_FULL_DEPRECATION_MSG = `In NativeScript 8.0 "${MARKING_MODE_PROP}:${MarkingMode.Full}" is no longer supported.`;
1818

1919
export class MarkingModeService implements IMarkingModeService {
2020
constructor(

lib/services/project-config-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default {
8989
return;
9090
}
9191
this.$logger.warn(
92-
`You are using the deprecated ${CONFIG_NS_FILE_NAME} file. Just be aware that NativeScript 7 has an improved ${CONFIG_FILE_NAME_DISPLAY} file for when you're ready to upgrade this project.`
92+
`You are using the deprecated ${CONFIG_NS_FILE_NAME} file. Just be aware that NativeScript 8 has an improved ${CONFIG_FILE_NAME_DISPLAY} file for when you're ready to upgrade this project.`
9393
);
9494
}
9595

0 commit comments

Comments
 (0)