Skip to content

Commit 12e90b0

Browse files
Sudeep PatelSudeep Patel
authored andcommitted
refactor(createstrapi.js): refactored comment to be meaningful
1 parent 22adb00 commit 12e90b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

utils/createStrapi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ const createStrapiProject = async () => {
4141
async function checkPathAccessibility(targetPath) {
4242
if (!path.isAbsolute(targetPath)) {
4343
console.error(`${chalk.bold.red(
44-
`🛑 Path is not accessible. Please use an accessible path for creating project, exiting...`
44+
` \n 🛑 Path is not valid. Please use a valid path for creating project, exiting...`
4545
)}\n`);
4646
await goodbye();
4747
process.exit(1);
4848
} else {
49-
console.log(`${chalk.bold.green(`\n 📝 Path is accessible. Creating folder!\n`)}`);
49+
console.log(`${chalk.bold.green(`\n 📝 Path is valid, proceeding! \n`)}`);
5050
}
5151
}
5252

0 commit comments

Comments
 (0)