mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
chore: update scripts
This commit is contained in:
parent
c03eafd329
commit
63c3cc729a
@ -29,6 +29,7 @@ if (!process.env.ENCRYPTION_KEY && !fs.existsSync('./.env')) {
|
|||||||
log('generating ENCRYPTION_KEY');
|
log('generating ENCRYPTION_KEY');
|
||||||
fs.writeFileSync('./.env', Object.entries(env).map(([k, v]) => `${k}=${v}`).join('\n'));
|
fs.writeFileSync('./.env', Object.entries(env).map(([k, v]) => `${k}=${v}`).join('\n'));
|
||||||
log('created .env file');
|
log('created .env file');
|
||||||
|
log(short('&r&0&!e WARNING &r &e&lkeep your environment variables safe, don\'t lose your encryption key or you will lose data'));
|
||||||
} else {
|
} else {
|
||||||
log('nothing to do');
|
log('nothing to do');
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user