Edit setup.js with exit when already exist .env

This commit is contained in:
Adrian Portabales 2016-06-11 13:56:26 +02:00 committed by GitHub
parent 4e0bef6a92
commit e8a1d46408

View File

@ -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);
}