Make more importance for env log

This commit is contained in:
syuilo 2019-02-03 13:51:00 +09:00
parent 3441acf56c
commit 9beab05a30
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -137,7 +137,7 @@ function showEnvironment(): void {
if (env !== 'production') { if (env !== 'production') {
logger.warn('The environment is not in production mode.'); logger.warn('The environment is not in production mode.');
logger.warn('Do not use for production purpose!', true); logger.warn('DO NOT USE FOR PRODUCTION PURPOSE!', true);
} }
logger.info(`You ${isRoot() ? '' : 'do not '}have root privileges`); logger.info(`You ${isRoot() ? '' : 'do not '}have root privileges`);