Skip to content

Commit

Permalink
Revert "fix: enable matchBase"
Browse files Browse the repository at this point in the history
This reverts commit b239114.

See hexojs/hexo#3538 (comment)
  • Loading branch information
weyusi committed Jul 9, 2019
1 parent b239114 commit ae378ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ module.exports = function(locals) {
};

function isMatch(path, patterns) {
return micromatch.isMatch(path, patterns, { matchBase: true });
return micromatch.isMatch(path, patterns);
}

0 comments on commit ae378ce

Please sign in to comment.