fix(core): update

This commit is contained in:
2022-08-07 01:17:45 +02:00
parent 2f11d1ba0f
commit 165cd3737e
2 changed files with 2 additions and 2 deletions

View File

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