@hastehaul/common 2.11.0 → 2.12.0
Sign up to get free protection for your applications and to get access to all the features.
- package/build/utils/utils.js +1 -1
- package/package.json +1 -1
package/build/utils/utils.js
CHANGED
@@ -74,7 +74,7 @@ function getValueFromSettings(settings, key, envVar, defaultValue) {
|
|
74
74
|
function loadAsset(filePath) {
|
75
75
|
return __awaiter(this, void 0, void 0, function* () {
|
76
76
|
try {
|
77
|
-
const file = path.
|
77
|
+
const file = path.resolve(filePath);
|
78
78
|
const fileContent = yield fs_1.promises.readFile(file, 'utf-8');
|
79
79
|
return fileContent;
|
80
80
|
}
|