Skip to content

Commit

Permalink
Merge pull request #152 from zed0/master
Browse files Browse the repository at this point in the history
Fix config only being found below the working dir
  • Loading branch information
thedaviddias authored Aug 22, 2018
2 parents 5e76ad7 + c1d4e8a commit 15cf57c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/htmlhint
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ function getGlobInfo(target){
var globInfo = parseGlob(target);
var base = globInfo.base;
base += /\/$/.test(base) ? '' : '/';
base = path.resolve(base);
var pattern = globInfo.glob;
var globPath = globInfo.path;
var defaultGlob = '*.{htm,html}';
Expand Down
Loading

0 comments on commit 15cf57c

Please sign in to comment.