Skip to content

Commit

Permalink
Build: replace optimist with a simple native method
Browse files Browse the repository at this point in the history
  • Loading branch information
shinnn committed Apr 1, 2016
1 parent 1401539 commit 55184a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"json-diff": "~0.3.1",
"leche": "^1.0.1",
"mocha": "^2.0.1",
"optimist": "~0.6.0",
"regenerate": "~0.5.4",
"shelljs": "^0.3.0",
"shelljs-nodecli": "^0.1.1",
Expand Down
3 changes: 1 addition & 2 deletions tools/generate-test-fixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
(function () {
'use strict';
var fs = require('fs'),
optimist = require('optimist'),
path = require('path'),
root = path.join(path.dirname(fs.realpathSync(__filename)), '..'),
espree = require(path.join(root, 'espree')),
Expand Down Expand Up @@ -330,7 +329,7 @@

console.log(stringify(
espree.parse(content, options),
!!optimist.argv['strict-json']
process.argv.indexOf('strict-json') !== -1
));
}());
/* vim: set sw=4 ts=4 et tw=80 : */

0 comments on commit 55184a2

Please sign in to comment.