We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c125f8b + f37a76a commit 47e96e0Copy full SHA for 47e96e0
src/index.js
@@ -48,7 +48,7 @@ function parseKey(value, key) {
48
}
49
50
// Boolean
51
- if (value.toLowerCase() === 'true' || value.toLowerCase() === 'false') {
+ if (value.toString().toLowerCase() === 'true' || value.toString().toLowerCase() === 'false') {
52
debug(`key ${key} parsed as a Boolean`);
53
return value === 'true';
54
0 commit comments