fixing: action build issues
This commit is contained in:
parent
47ab750bdc
commit
08c348f2e8
|
@ -19,7 +19,6 @@ if (commandName === "help") {
|
||||||
console.log("");
|
console.log("");
|
||||||
console.log("Github : ", "https://github.com/BRAVO68WEB/stockpile");
|
console.log("Github : ", "https://github.com/BRAVO68WEB/stockpile");
|
||||||
console.log("Author : ", "https://github.com/BRAVO68WEB/");
|
console.log("Author : ", "https://github.com/BRAVO68WEB/");
|
||||||
process.exit(0);
|
|
||||||
} else if (commandName === "init") {
|
} else if (commandName === "init") {
|
||||||
try {
|
try {
|
||||||
console.log("Initializing new Stockpile config file");
|
console.log("Initializing new Stockpile config file");
|
||||||
|
@ -65,7 +64,6 @@ if (commandName === "help") {
|
||||||
|
|
||||||
fs.writeFileSync(config.configpath, JSON.stringify(config));
|
fs.writeFileSync(config.configpath, JSON.stringify(config));
|
||||||
console.log(`Config file created at ${config.configpath}`);
|
console.log(`Config file created at ${config.configpath}`);
|
||||||
process.exit(0);
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
|
Loading…
Reference in New Issue