🕛 Added images & fixed lots of bugs & fixed the deploy flag bug 🇨🇳

This commit is contained in:
Matei Adriel 2019-05-28 18:28:43 +03:00
parent cf156dec78
commit b58aa196a7

View file

@ -6,7 +6,7 @@ const args = process.argv.splice(2)
const randomEmoji = () => random({ count: 1 })[0].character
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...");