Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SamVerschueren committed Aug 29, 2017
1 parent 46f8a11 commit a86c3a1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ os:
- osx
language: node_js
node_js:
- '8'
- '6'
- '4'
2 changes: 1 addition & 1 deletion lib/macos.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const pify = require('pify');

const olderThanMountainLion = Number(os.release().split('.')[0]) < 12;

// binary source: https://github.com/sindresorhus/macos-trash
// Binary source: https://github.com/sindresorhus/macos-trash
const bin = path.join(__dirname, 'macos-trash');

function legacy(paths) {
Expand Down
2 changes: 1 addition & 1 deletion lib/win.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const path = require('path');
const execFile = require('child_process').execFile;
const pify = require('pify');

// binary source: https://github.com/sindresorhus/recycle-bin
// Binary source: https://github.com/sindresorhus/recycle-bin
const bin = path.join(__dirname, 'win-trash.exe');

module.exports = paths => pify(execFile)(bin, paths);
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,5 @@
"ava": "*",
"tempfile": "^1.1.1",
"xo": "*"
},
"xo": {
"esnext": true
}
}

0 comments on commit a86c3a1

Please sign in to comment.