From 165cd3737e2732444b2d48fd2cae2de04441abd9 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sun, 7 Aug 2022 01:17:45 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/smartenv.classes.smartenv.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 7c4d0bd..2a3fc80 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -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' } diff --git a/ts/smartenv.classes.smartenv.ts b/ts/smartenv.classes.smartenv.ts index 6d6d878..ec41777 100644 --- a/ts/smartenv.classes.smartenv.ts +++ b/ts/smartenv.classes.smartenv.ts @@ -28,7 +28,7 @@ export class Smartenv { public async getSafeNodeModule(moduleNameArg: string): Promise { 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