mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Have module formatter ignore more types of files.
This commit is contained in:
parent
21d858f36d
commit
dd5a8474f8
1 changed files with 2 additions and 1 deletions
|
@ -283,7 +283,8 @@ def main():
|
|||
fname = os.path.join(options.module_dir, module)
|
||||
extra = os.path.join("inc", "%s.tex" % module)
|
||||
|
||||
if fname.endswith(".swp"):
|
||||
# probably could just throw out everything with extensions
|
||||
if fname.endswith(".swp") or fname.endswith(".orig") or fname.endswith(".rej"):
|
||||
continue
|
||||
|
||||
print " processing module source ---> %s" % fname
|
||||
|
|
Loading…
Reference in a new issue