fix(core): update
This commit is contained in:
		@@ -28,7 +28,7 @@ export class Smartenv {
 | 
			
		||||
 | 
			
		||||
  public async getSafeNodeModule<T = any>(moduleNameArg: string): Promise<T> {
 | 
			
		||||
    if (!this.isNode) {
 | 
			
		||||
      console.error('You tried to load a node module in a wrong context');
 | 
			
		||||
      console.error(`You tried to load a node module in a wrong context: ${moduleNameArg}`);
 | 
			
		||||
      return;
 | 
			
		||||
    }
 | 
			
		||||
    // tslint:disable-next-line: function-constructor
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user