Skip to content

Commit

Permalink
main: Use --limit-files
Browse files Browse the repository at this point in the history
Earlier --files was being used but that wasn't the correct
option to be used because that replaces the files config value
only in [Default] section. This means that any other
section would clash with it.
Now we use the --limit-files argument which takes a subset
of all files with the glob provided in --limit-files. This ensures
that all sections with this file get executed and no clashes happen.
  • Loading branch information
AbdealiLoKo committed Feb 13, 2016
1 parent 17fa590 commit b1f5df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CoalaThread.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def run(self):
else:
options.append('--find-config')

options.append('--files=%s' % self.file_name)
options.append('--limit-files=%s' % self.file_name)
options.append('-S=autoapply=false')
options.extend(self.extra_args)
command.extend(options)
Expand Down

0 comments on commit b1f5df6

Please sign in to comment.