Skip to content

Commit

Permalink
Fixed search of the config file in parent directories
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkimru authored and thedaviddias committed Aug 23, 2018
1 parent 6122dd3 commit 22174ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/htmlhint
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ function getGlobInfo(target){
// fix windows sep
target = target.replace(/\\/g, '/');
var globInfo = parseGlob(target);
var base = globInfo.base;
var base = path.resolve(globInfo.base);
base += /\/$/.test(base) ? '' : '/';
base = path.resolve(base);
var pattern = globInfo.glob;
Expand Down

0 comments on commit 22174ac

Please sign in to comment.