From 9adc5b04f6f251b66bd9de3deb15a740b7c78782 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Mon, 27 May 2019 21:08:14 +0300 Subject: [PATCH] =?UTF-8?q?=E2=98=80=EF=B8=8F=20Finished=20the=20deploy=20?= =?UTF-8?q?script=20ft=20random=20emojis=20=F0=9F=94=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/deploy.ts b/deploy.ts index cdd6a33..f8bdac3 100644 --- a/deploy.ts +++ b/deploy.ts @@ -6,9 +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) ? args[mFlag + 1] : "automated update"} ${randomEmoji()}` console.log("Deploying...");