Skip to content
Myr

clean up

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent a6a0b7c · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/commander.js+1 added-1 removed
283 unmodified lines
284 // coercion285 if (null != val && fn) val = fn(val);286287 // unassigned or bool288 if (/undefined|boolean/.test(typeof self[name])) {288 if ('boolean' == typeof self[name] || 'undefined' == typeof self[name]) {289 // if no value, bool true, and we have a default, then use it!290 self[name] = null == val291 ? (option.bool292 ? defaultValue || true
612 unmodified lines