☀️ Finished the deploy script ft random emojis 🔐
This commit is contained in:
parent
c876138de2
commit
9adc5b04f6
|
@ -6,9 +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()}
|
const message = `${randomEmoji()} ${(mFlag) ? args[mFlag + 1] : "automated update"} ${randomEmoji()}`
|
||||||
${(mFlag) ? args[mFlag + 1] : "automated update"}
|
|
||||||
${randomEmoji()}`
|
|
||||||
|
|
||||||
console.log("Deploying...");
|
console.log("Deploying...");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue