Skip to content

Commit

Permalink
ConfigProjectSource: return first found config (#196)
Browse files Browse the repository at this point in the history
Fixes #194.
  • Loading branch information
blueyed authored and Kuniwak committed Jan 8, 2017
1 parent 9ae019d commit 6bda668
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vint/linting/config/config_project_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def get_file_path(self, env):
proj_conf_path_tmp = project_path / basename

if proj_conf_path_tmp.is_file():
proj_conf_path = proj_conf_path_tmp
break
return proj_conf_path_tmp

return proj_conf_path

0 comments on commit 6bda668

Please sign in to comment.