Error Fix and Console Logging format.

This commit is contained in:
2026-07-17 11:39:58 +01:00
parent 7e45c40c8a
commit 26702cec4f
7 changed files with 261 additions and 107 deletions
+6
View File
@@ -118,6 +118,12 @@ function loadConfig() {
const json = fs.readFileSync(configPath, 'utf8');
const config = JSON.parse(json);
Object.defineProperty(config, '__configPath', {
value: configPath,
enumerable: false,
configurable: true,
writable: true,
});
validateConfig(config);
return config;
}