create-astro 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -50,8 +50,6 @@ async function main() {
|
|
|
50
50
|
logger.debug("Verbose logging turned on");
|
|
51
51
|
console.log(`
|
|
52
52
|
${bold("Welcome to Astro!")} ${gray(`(create-astro v${version})`)}`);
|
|
53
|
-
console.log(`If you encounter a problem, visit ${cyan("https://github.com/withastro/astro/issues")} to search or file a new issue.
|
|
54
|
-
`);
|
|
55
53
|
let spinner = ora({ color: "green", text: "Prepare for liftoff." });
|
|
56
54
|
spinner.succeed();
|
|
57
55
|
let cwd = args["_"][2];
|
|
@@ -63,7 +61,7 @@ ${bold("Welcome to Astro!")} ${gray(`(create-astro v${version})`)}`);
|
|
|
63
61
|
acknowledgeProjectDir.succeed();
|
|
64
62
|
}
|
|
65
63
|
if (!cwd || !isEmpty(cwd)) {
|
|
66
|
-
const notEmptyMsg = (dirPath) => `"${bold(dirPath)}" is not empty
|
|
64
|
+
const notEmptyMsg = (dirPath) => `"${bold(dirPath)}" is not empty!`;
|
|
67
65
|
if (!isEmpty(cwd)) {
|
|
68
66
|
let rejectProjectDir = ora({ color: "red", text: notEmptyMsg(cwd) });
|
|
69
67
|
rejectProjectDir.fail();
|