We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f70bfd commit 92eb422Copy full SHA for 92eb422
packages/tools/kolibri-cli/src/migrate/index.ts
@@ -92,6 +92,9 @@ Target version of @public-ui/*: ${options.overwriteTargetVersion}
92
Source folder to migrate: ${baseDir}
93
`);
94
95
+ if (!fs.existsSync(baseDir)) {
96
+ throw logAndCreateError(`The specified source folder "${baseDir}" does not exist or is inaccessible. Please check the path and try again.`);
97
+ }
98
if (!hasKolibriTags(baseDir)) {
99
console.log(chalk.yellow(`No KoliBri components (web or React) found under "${baseDir}". Check the path or your task configuration.`));
100
}
0 commit comments