Skip to content

Commit

Permalink
added error catching
Browse files Browse the repository at this point in the history
  • Loading branch information
Aveline-art committed Dec 16, 2021
1 parent ff5dac5 commit cce6143
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ function configTest(data, config) {
continue
}

if (!data[key]) {
return false
}

if (repl.analyze(config[key], data[key])) {
continue
} else {
Expand Down

0 comments on commit cce6143

Please sign in to comment.