Skip to content

Commit

Permalink
Merge pull request #735 from anthonyshibitov/encoding-fix
Browse files Browse the repository at this point in the history
Add debug message if no encoding is specified
  • Loading branch information
motdotla authored Jan 18, 2024
2 parents 823d0b8 + 8f73112 commit 630d2a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ function configDotenv (options) {
}
if (options.encoding != null) {
encoding = options.encoding
} else {
if (debug) {
_debug('No encoding is specified. UTF-8 is used by default')
}
}
}

Expand Down

0 comments on commit 630d2a0

Please sign in to comment.