Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Feb 27, 2019
1 parent bcdc7ca commit c8033dc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions bindings.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,11 @@ function bindings(opts) {
}
return b;
} catch (e) {
if (e.code !== 'MODULE_NOT_FOUND' &&
e.code !== 'QUALIFIED_PATH_RESOLUTION_FAILED' &&
!/not find/i.test(e.message)) {
if (
e.code !== 'MODULE_NOT_FOUND' &&
e.code !== 'QUALIFIED_PATH_RESOLUTION_FAILED' &&
!/not find/i.test(e.message)
) {
throw e;
}
}
Expand Down

0 comments on commit c8033dc

Please sign in to comment.