Fix: Managedなやつでおかしかったとこ直した

This commit is contained in:
mattyatea 2024-07-17 23:01:15 +09:00
parent 0e23ac3bb9
commit eecd2b73d7
2 changed files with 1 additions and 5 deletions

View file

@ -122,7 +122,6 @@ export async function masterMain() {
function showEnvironment(): void {
const env = process.env.NODE_ENV;
const managed = process.env.IS_MANAGED === 'true';
const logger = bootLogger.createSubLogger('env');
logger.info(typeof env === 'undefined' ? 'NODE_ENV is not set' : `NODE_ENV: ${env}`);
@ -130,9 +129,6 @@ function showEnvironment(): void {
logger.warn('The environment is not in production mode.');
logger.warn('DO NOT USE FOR PRODUCTION PURPOSE!', null, true);
}
if (managed) {
logger.info('Type4ny is running in a managed mode.');
}
}
function showNodejsVersion(): void {

View file

@ -11,7 +11,7 @@ const envOption = {
verbose: false,
withLogTime: false,
quiet: false,
managed: true,
managed: false,
};
for (const key of Object.keys(envOption) as (keyof typeof envOption)[]) {