Skip to content

Commit

Permalink
Merge 87ce6f2 into 0a8777d
Browse files Browse the repository at this point in the history
  • Loading branch information
qfox committed Jan 10, 2018
2 parents 0a8777d + 87ce6f2 commit aa0aafa
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"no-cond-assign": "off",

"semi" : "error",
"indent" : ["error", 4],
"no-mixed-spaces-and-tabs" : "error",
"max-len" : ["error", { "code" : 120 }],
"eol-last" : "error",
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ matrix:
include:
- node_js: "4"
- node_js: "6"
- node_js: "8"
env: COVERALLS=1
- node_js: "7"
- node_js: "9"

after_success:
- if [ "x$COVERALLS" = "x1" ]; then npm run coveralls; fi
1 change: 1 addition & 0 deletions lib/cmd.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable class-methods-use-this */
'use strict';

const
Expand Down
1 change: 1 addition & 0 deletions lib/coaobject.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable class-methods-use-this */
'use strict';

const Q = require('q');
Expand Down
2 changes: 1 addition & 1 deletion lib/completion.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function dumpScript(name) {

fs.readFile(path.resolve(__dirname, 'completion.sh'), 'utf8', function(err, d) {
if(err) return defer.reject(err);
d = d.replace(/{{cmd}}/g, path.basename(name)).replace(/^\#\!.*?\n/, '');
d = d.replace(/{{cmd}}/g, path.basename(name)).replace(/^#!.*?\n/, '');

process.stdout.on('error', onError);
process.stdout.write(d, () => defer.resolve());
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"devDependencies": {
"chai": "~1.7.2",
"coveralls": "^2.11.16",
"eslint": "^3.15.0",
"eslint-config-pedant": "^0.8.0",
"eslint": "^4.15.0",
"eslint-config-pedant": "^1.0.0",
"mocha": "~1.21.4",
"nyc": "^10.1.2"
},
Expand Down

0 comments on commit aa0aafa

Please sign in to comment.