Skip to content

Commit

Permalink
fix: linting (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Aug 16, 2022
1 parent 43b151d commit fa07e9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lib/index.js
Expand Up @@ -56,8 +56,10 @@ const readCmdShim = path => {
if (destination) {
return destination
}
return Promise.reject(notaShim(path, er))
}, readFileEr => Promise.reject(wrapError(readFileEr, er)))
throw notaShim(path, er)
}, readFileEr => {
throw wrapError(readFileEr, er)
})
}

const readCmdShimSync = path => {
Expand Down
2 changes: 1 addition & 1 deletion test/integration.js
@@ -1,6 +1,6 @@
'use strict'
const { join, basename } = require('path')
const fs = require('graceful-fs')
const fs = require('fs')
const test = require('tap').test
const rimraf = require('rimraf')
const cmdShim = require('cmd-shim')
Expand Down

0 comments on commit fa07e9b

Please sign in to comment.