Skip to content

Commit

Permalink
Merge pull request #50 from w3c/abspath
Browse files Browse the repository at this point in the history
Fix path check.
  • Loading branch information
jgraham committed Jan 18, 2016
2 parents edb3ec6 + 7833e1f commit d0c12d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lint/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def run_lint(path, fn, last, *args):

for path in iter_files():
abs_path = os.path.join(repo_root, path)
if not os.path.exists(path):
if not os.path.exists(abs_path):
continue
for path_fn in path_lints:
last = run_lint(path, path_fn, last)
Expand Down

0 comments on commit d0c12d3

Please sign in to comment.