@karmaniverous/get-dotenv 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -89,7 +89,7 @@ const getDotenv = async function () {
89
89
  } catch ({
90
90
  message
91
91
  }) {
92
- throw new Error(`Dynamic processing failed for variable '${key}' with message '${message}'`);
92
+ throw new Error(`Dynamic processing failed for variable '${key}'. ${message}`);
93
93
  }
94
94
  });
95
95
  }
@@ -98,7 +98,7 @@ export const getDotenv = async ({
98
98
  Object.assign(dotenv, { [key]: dynamic[key](dotenv) });
99
99
  } catch ({ message }) {
100
100
  throw new Error(
101
- `Dynamic processing failed for variable '${key}' with message '${message}'`
101
+ `Dynamic processing failed for variable '${key}'. ${message}`
102
102
  );
103
103
  }
104
104
  });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "bin": {
4
4
  "getdotenv": "bin/getdotenv/index.js"
5
5
  },
6
- "version": "2.0.1",
6
+ "version": "2.0.2",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },