Edit setup.js with exit when already exist .env
This commit is contained in:
parent
4e0bef6a92
commit
e8a1d46408
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user