🕛 Added images & fixed lots of bugs & fixed the deploy flag bug 🇨🇳
This commit is contained in:
parent
cf156dec78
commit
b58aa196a7
|
@ -6,7 +6,7 @@ const args = process.argv.splice(2)
|
||||||
const randomEmoji = () => random({ count: 1 })[0].character
|
const randomEmoji = () => random({ count: 1 })[0].character
|
||||||
|
|
||||||
const mFlag = ((args.indexOf("--message") + 1) || (args.indexOf("-m") + 1)) - 1
|
const mFlag = ((args.indexOf("--message") + 1) || (args.indexOf("-m") + 1)) - 1
|
||||||
const message = `${randomEmoji()} ${(mFlag) ? args[mFlag + 1] : "automated update"} ${randomEmoji()}`
|
const message = `${randomEmoji()} ${(mFlag >= 0) ? args[mFlag + 1] : "automated update"} ${randomEmoji()}`
|
||||||
|
|
||||||
console.log("Deploying...");
|
console.log("Deploying...");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue