fix incorrect reference to process.env in Logger
This commit is contained in:
parent
d6f6d89bc3
commit
fa1273a737
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ export default class Logger {
|
|||
if (this.envService.options.quiet) return;
|
||||
|
||||
// Debugging logging is disabled in production unless MK_VERBOSE is set.
|
||||
if (level === 'debug' && process.env.NODE_ENV === 'production' && !this.envService.options.verbose) {
|
||||
if (level === 'debug' && this.envService.env.NODE_ENV === 'production' && !this.envService.options.verbose) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue