fix(startup): Better detection of invalid config file structure and content

Fixes #925
This commit is contained in:
Göran Sander
2024-10-21 14:32:11 +00:00
parent 6b6c965e49
commit befc5ee49d
7 changed files with 109 additions and 98 deletions

2
.vscode/launch.json vendored
View File

@@ -6,7 +6,7 @@
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/src/butler-sos.js",
"runtimeVersion": "20",
"runtimeVersion": "18",
"cwd": "${workspaceFolder}/src",
"env": {
"NODE_CONFIG_DIR": "${workspaceFolder}/src/config",