create-cookbook 1.0.0-beta.72 → 1.0.0-beta.73
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/index.mjs +3 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -93,7 +93,7 @@ const color = gradient(["cyan", "#2d9b87"]);
|
|
|
93
93
|
exit(1);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
consola.start(color("Extracting package"));
|
|
96
|
+
consola.start(color("Extracting package.."));
|
|
97
97
|
try {
|
|
98
98
|
await compressing.tgz.uncompress(join(tempspace, "package.tgz"), tempspace);
|
|
99
99
|
consola.success(color("Package extracted"));
|
|
@@ -115,7 +115,7 @@ const color = gradient(["cyan", "#2d9b87"]);
|
|
|
115
115
|
if (!existsSync(installPath)) mkdirSync(installPath, { recursive: true });
|
|
116
116
|
await move(execPath, join(installPath, execName), { overwrite: true });
|
|
117
117
|
} else {
|
|
118
|
-
consola.start(color("Finding suitable installation location"));
|
|
118
|
+
consola.start(color("Finding suitable installation location.."));
|
|
119
119
|
|
|
120
120
|
let targetPath = "";
|
|
121
121
|
if (process.platform === "win32") {
|
|
@@ -181,6 +181,6 @@ const color = gradient(["cyan", "#2d9b87"]);
|
|
|
181
181
|
|
|
182
182
|
console.log(color("△ Try running: co --help"));
|
|
183
183
|
if (process.platform === "win32") {
|
|
184
|
-
console.
|
|
184
|
+
console.log(color("△ Note: You may need to restart your terminal for PATH changes to take effect"));
|
|
185
185
|
}
|
|
186
186
|
})();
|