@axeth/create-cli 2.0.8 → 2.0.9
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/package.json +1 -1
- package/src/class/AxethCLI.ts +1 -1
package/package.json
CHANGED
package/src/class/AxethCLI.ts
CHANGED
|
@@ -38,7 +38,7 @@ class AxethCLI {
|
|
|
38
38
|
await this.generateTemplate(addonInfo, config, minecraftServerVersion, minecraftServerUIVersion, spinner);
|
|
39
39
|
//cd and bun run lint
|
|
40
40
|
spinner.start("Linting generated add-on...");
|
|
41
|
-
await this.runCommand(`cd ./${(addonInfo.addonName as string).replace(/\s+/g, "-").toLowerCase()}
|
|
41
|
+
await this.runCommand(`cd ./${(addonInfo.addonName as string).replace(/\s+/g, "-").toLowerCase()} ; bun run lint`).catch((err) => {
|
|
42
42
|
spinner.stop("Linting failed.");
|
|
43
43
|
console.error(color.red(err));
|
|
44
44
|
process.exit(1);
|