Fix: Managedなやつでおかしかったとこ直した
This commit is contained in:
parent
0e23ac3bb9
commit
eecd2b73d7
|
@ -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 {
|
||||
|
|
|
@ -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)[]) {
|
||||
|
|
Loading…
Reference in a new issue