Skip to content

Commit

Permalink
add semi colons to setup.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sk337 authored Nov 14, 2023
1 parent 203ed8c commit 16efe7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.js
Original file line number Diff line number Diff line change
@@ -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");
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 16efe7a

Please sign in to comment.