Skip to content

Commit

Permalink
Merge pull request #550 from 189/fix/debug-option
Browse files Browse the repository at this point in the history
fix: dotenv/main debug option not work
  • Loading branch information
motdotla authored Jan 11, 2022
2 parents a89e108 + 3796ced commit 3ac40aa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ function config (options /*: ?DotenvConfigOptions */) /*: DotenvConfigOutput */
if (options.encoding != null) {
encoding = options.encoding
}
if (options.debug != null) {
debug = true
}
debug = Boolean(options.debug)
}

try {
Expand Down

0 comments on commit 3ac40aa

Please sign in to comment.