Skip to content

Commit

Permalink
fix(config): More thorough verification of config file structure
Browse files Browse the repository at this point in the history
Fixes #857
  • Loading branch information
Göran Sander committed Aug 20, 2024
1 parent ae4083b commit bb46e00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/butler-sos.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ async function mainScript() {
} else {
configFileVerify = await verifyConfigFile();
}

// If config file verification failed, the previous function would have returned false.
// In that case, we should exit the script.
if (!configFileVerify) {
Expand Down

0 comments on commit bb46e00

Please sign in to comment.