fix(core): update

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

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/smartenv',
version: '5.0.2',
version: '5.0.3',
description: 'store things about your environment and let them travel across modules'
}

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