Skip to content

Commit

Permalink
replace optimist with minimist
Browse files Browse the repository at this point in the history
  • Loading branch information
twada committed Dec 14, 2014
1 parent 7d17a29 commit 8babcf6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
"phantomjs"
],
"devDependencies": {
"minimist": "~1.1.0",
"qunitjs": "1.16.0",
"semver": "1.1.4",
"optimist": "0.6.1"
"semver": "1.1.4"
},
"licenses": [
{
Expand Down
7 changes: 6 additions & 1 deletion test/expected/expected_output.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
// expected output for specific version
var argv = require('optimist').argv,
var minimist = require('minimist'),
argv = minimist(process.argv.slice(2), {
string: [
'version'
]
}),
qunitVersion = argv.version,
util = require("util"),
fs = require('fs'),
Expand Down
7 changes: 6 additions & 1 deletion test/node/test_compat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
var argv = require('optimist').argv,
var minimist = require('minimist'),
argv = minimist(process.argv.slice(2), {
string: [
'version'
]
}),
qunitVersion = argv.version,
qunitPath = "../compatibility/" + qunitVersion + "/qunit",
qunitTap = require("../../lib/qunit-tap"),
Expand Down

0 comments on commit 8babcf6

Please sign in to comment.