Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #14 from AtomLinter/htmlhintrc-fix
Browse files Browse the repository at this point in the history
Changed empty string default path to `@cwd`.  While the empty path fixed...
  • Loading branch information
johnwebbcole committed Apr 14, 2015
2 parents cd666f4 + e89aa56 commit a31d480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/linter-htmlhint.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class LinterHtmlhint extends Linter

# update the ruleset anytime the watched htmlhintrc file changes
setupHtmlHintRc: =>
htmlHintRcPath = atom.config.get('linter.linter-htmlhint.htmlhintRcFilePath') || ''
htmlHintRcPath = atom.config.get('linter.linter-htmlhint.htmlhintRcFilePath') || @cwd
fileName = atom.config.get('linter.linter-htmlhint.htmlhintRcFileName') || '.htmlhintrc'
config = findFile htmlHintRcPath, [fileName]
if config
Expand Down

0 comments on commit a31d480

Please sign in to comment.