Skip to content

Commit

Permalink
Task: Support older versions of node
Browse files Browse the repository at this point in the history
  • Loading branch information
nick spragg committed Mar 19, 2017
1 parent 751babd commit 2431055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filehound.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function isRegExpMatch(pattern) {
}

function cleanExtension(ext) {
if (ext.startsWith('.')) {
if (_.startsWith(ext, '.')) {
return ext.slice(1);
}
return ext;
Expand Down

0 comments on commit 2431055

Please sign in to comment.