Skip to content

Commit 75a8cf2

Browse files
authored
Merge pull request #6 from fstrube/fix-htmlhintrc
Fix broken htmlhintrc option
2 parents 7f40c02 + 749aa54 commit 75a8cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ var hint = function(file, options) {
8686

8787
if(options.patterns) { patterns = options.patterns || []; }
8888

89-
if (options.htmlhintrc && options.htmlhintrc === typeof String) {
89+
if (options.htmlhintrc && typeof options.htmlhintrc === 'string') {
9090
try {
9191
var htmlhintrc = fs.readFileSync(options.htmlhintrc);
9292
htmlhintrcRuleset = JSON.parse(htmlhintrc);

0 commit comments

Comments
 (0)