Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
boopathi committed Aug 10, 2017
1 parent 4c1719c commit 97e5388
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const OFF = "off";
module.exports = {
extends: "eslint:recommended",
parserOptions: {
ecmaVersion: 7,
ecmaVersion: 2017,
sourceType: "module"
},
env: {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"lerna": "^2.0.0",
"lerna-changelog": "^0.6.0",
"markdown-table": "^1.1.1",
"output-file-sync": "^2.0.0",
"prettier": "^1.5.3",
"request": "^2.81.0",
"rimraf": "^2.6.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/babili/src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function runFile(argv, options) {
if (argv.outFile) {
return handleFile(file, argv.outFile, options);
} else if (argv.outDir) {
return handleFiles([file], argv.outDir, options);
return handleArgs([file], argv.outDir, options);
} else {
// prints to STDOUT
return handleFile(file, void 0, options);
Expand All @@ -243,6 +243,6 @@ function runArgs(argv, options) {
}

run(process.argv.slice(2)).catch(e => {
console.error(e);
process.stderr.write(e);
process.exit(1);
});
1 change: 0 additions & 1 deletion packages/babili/src/fs.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const fs = require("fs");
const path = require("path");
const readdir = require("fs-readdir-recursive");
const outputFileSync = require("output-file-sync");
const promisify = require("util.promisify");
const mkdirp = promisify(require("mkdirp"));

Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3610,7 +3610,7 @@ minimist@~0.0.1:
version "0.0.10"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"

mkdirp@0.5.1, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0:
"mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0:
version "0.5.1"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
dependencies:
Expand Down

0 comments on commit 97e5388

Please sign in to comment.