From fcc3c40ba15cc76cc426abd050ec0ca7fa505de7 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 21 Sep 2022 16:38:11 -0400 Subject: [PATCH] *Update dist --- dist/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 264f41a..075e733 100644 --- a/dist/index.js +++ b/dist/index.js @@ -137,7 +137,9 @@ class Config { saveConfigJson(file, data) { (0, bsert_1.default)(typeof data === "object"); (0, bsert_1.default)(!Array.isArray(data)); - fs_1.default.writeFileSync(path_1.default.join(this.str("configdir"), file), JSON.stringify(data)); + const fullPath = path_1.default.join(this.str("configdir"), file); + fs_1.default.writeFileSync(fullPath, JSON.stringify(data)); + this.openJson(fullPath); } filter(name) { (0, bsert_1.default)(typeof name === "string");