From 302181c70701dcf79cd7cd68e4816ac394ff0795 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 21 Dec 2022 15:09:14 -0500 Subject: [PATCH] *Update dist --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 7056159..0df6ad2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -82,7 +82,7 @@ class Config { (0, bsert_1.default)(typeof data === "object"); (0, bsert_1.default)(!Array.isArray(data)); 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)) { fs_1.default.mkdirSync(configDir, { recursive: true }); }