Skip to content

Commit

Permalink
omit the unused catch binding
Browse files Browse the repository at this point in the history
thanks to https://github.com/tc39/proposal-optional-catch-binding

[BREAKING] drop support for Node.js < 10
  • Loading branch information
shinnn committed Jul 26, 2018
1 parent ac0ca9f commit 8a7bf87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = function sassPackageImporter(path, prev, done) {

try {
resolvedPath = require.resolve(path);
} catch (err) {
} catch {
done({file: path});
return;
}
Expand Down

0 comments on commit 8a7bf87

Please sign in to comment.