Edit setup.js with exit when already exist .env
This commit is contained in:
parent
e8a1d46408
commit
b939715496
@ -219,7 +219,7 @@ if(!fs.existsSync('./\.env')) {
|
||||
console.log(chalk.green('Have fun using TellForm!'));
|
||||
}
|
||||
});
|
||||
}else{
|
||||
}else{
|
||||
console.log(chalk.red('You already have a .env file'));
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user