Fix bug. Add workflows.

This commit is contained in:
Stephen Franceschelli
2019-07-15 13:23:24 -04:00
parent 9098200950
commit e3283467a1
7049 changed files with 1866416 additions and 13 deletions

14
node_modules/optimist/test/parse_modified.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
var optimist = require('../');
var test = require('tap').test;
test('parse with modifier functions' , function (t) {
t.plan(1);
var argv = optimist().boolean('b').parse([ '-b', '123' ]);
t.deepEqual(fix(argv), { b: true, _: ['123'] });
});
function fix (obj) {
delete obj.$0;
return obj;
}