fix incorrect reference to process.env in Logger

This commit is contained in:
Hazelnoot 2025-11-11 20:17:05 -05:00
parent d6f6d89bc3
commit fa1273a737

View file

@ -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;
}