mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(core): Move dependencies of Logger to standalone packages (#15338)
This commit is contained in:
@@ -1,2 +1,8 @@
|
||||
export * from './license-state';
|
||||
export * from './types';
|
||||
|
||||
const { NODE_ENV } = process.env;
|
||||
|
||||
export const inTest = NODE_ENV === 'test';
|
||||
export const inProduction = NODE_ENV === 'production';
|
||||
export const inDevelopment = !NODE_ENV || NODE_ENV === 'development';
|
||||
|
||||
Reference in New Issue
Block a user