Skip to content

Commit 795b911

Browse files
committed
Fix missing opts param in boolean coerceFunction
1 parent 7ec5316 commit 795b911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/coerce.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ exports.valObjectMeta = {
8787
description: 'A boolean (true/false) value.',
8888
requiredOpts: [],
8989
otherOpts: ['dflt', 'arrayOk'],
90-
coerceFunction: function(v, propOut, dflt) {
90+
coerceFunction: function(v, propOut, dflt, opts) {
9191
function isBoolean(value) {
9292
return value === true || value === false;
9393
}

0 commit comments

Comments
 (0)