File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/mongodb-memory-server-core/src/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ export function envToBool(env: string = ''): boolean {
125125}
126126
127127// enable debug if "MONGOMS_DEBUG" is true
128- if ( envToBool ( resolveConfig ( ResolveConfigVariables . DEBUG ) ) && ! debug . enabled ) {
128+ if ( envToBool ( resolveConfig ( ResolveConfigVariables . DEBUG ) ) ) {
129129 debug . enable ( 'MongoMS:*' ) ;
130130 log ( 'Debug Mode Enabled, through Environment Variable' ) ;
131131}
@@ -134,7 +134,7 @@ if (envToBool(resolveConfig(ResolveConfigVariables.DEBUG)) && !debug.enabled) {
134134findPackageJson ( ) ;
135135
136136// enable debug if "config.mongodbMemoryServer.debug" is true
137- if ( envToBool ( resolveConfig ( ResolveConfigVariables . DEBUG ) ) && ! debug . enabled ) {
137+ if ( envToBool ( resolveConfig ( ResolveConfigVariables . DEBUG ) ) ) {
138138 debug . enable ( 'MongoMS:*' ) ;
139139 log ( 'Debug Mode Enabled, through package.json' ) ;
140140}
You can’t perform that action at this time.
0 commit comments