diff --git a/scripts/setup.js b/scripts/setup.js index b70ebe32..51a4ea3a 100644 --- a/scripts/setup.js +++ b/scripts/setup.js @@ -219,4 +219,7 @@ if(!fs.existsSync('./\.env')) { console.log(chalk.green('Have fun using TellForm!')); } }); +}else{ + console.log(chalk.red('You already have a .env file')); + process.exit(1); }