From 16efe7a07eb3e06eb51b762210e6cf29dcd35c9e Mon Sep 17 00:00:00 2001 From: sk337 <79583517+sk337@users.noreply.github.com> Date: Tue, 14 Nov 2023 13:46:11 -0800 Subject: [PATCH] add semi colons to setup.js --- setup.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.js b/setup.js index 069c22da..2e6210de 100644 --- a/setup.js +++ b/setup.js @@ -1,6 +1,6 @@ -replit = false +replit = false; if (process.env["REPLIT_DB_URL"]){ - replit = true + replit = true; } const fs = require("fs"); const {execSync} = require("child_process"); @@ -57,8 +57,8 @@ if(!process.env.hasOwnProperty("TOKEN") & !replit) { if(!process.env.hasOwnProperty("TOKEN") & replit){ console.log("👀 We're getting you set up.\n"); - console.log("⚠️ You are using replit and therefore we can not use dotenv. please go to the secrets tab press open raw editor and paste content from env.json\n") - buf = Buffer.from(testenv) + console.log("⚠️ You are using replit and therefore we can not use dotenv. please go to the secrets tab press open raw editor and paste content from env.json\n"); + buf = Buffer.from(testenv); fs.writeFileSync("env.json", JSON.stringify(dotenv.parse(buf))); fs.writeFileSync("config.json", defaultconfig); console.log("⚒️ Installing dependencies... \n");