*Update dist

This commit is contained in:
Derrick Hammer 2022-12-21 15:09:14 -05:00
parent 618ab73d14
commit 302181c707
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

2
dist/index.js vendored
View File

@ -82,7 +82,7 @@ class Config {
(0, bsert_1.default)(typeof data === "object"); (0, bsert_1.default)(typeof data === "object");
(0, bsert_1.default)(!Array.isArray(data)); (0, bsert_1.default)(!Array.isArray(data));
const configDir = this.str("configdir"); const configDir = this.str("configdir");
const fullPath = path_1.default.join(configDir, file); const fullPath = path_1.default.join(configDir, `${file}.json`);
if (!fs_1.default.existsSync(configDir)) { if (!fs_1.default.existsSync(configDir)) {
fs_1.default.mkdirSync(configDir, { recursive: true }); fs_1.default.mkdirSync(configDir, { recursive: true });
} }