From 935a225e5794ec1d372462dc89445cf102c9ee87 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 21 Sep 2022 17:19:01 -0400 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 7acbbcd..08f5608 100644 --- a/dist/index.js +++ b/dist/index.js @@ -104,7 +104,7 @@ class Config { openDir(dir) { (0, bsert_1.default)(fs_1.default.existsSync(dir), `Directory ${dir} does not exist`); let files = fs_1.default.readdirSync(dir).map((item) => path_1.default.join(dir, item)); - files.forEach(this.openJson); + files.forEach(this.openJson.bind(this)); } openJson(file) { let json;