Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
Add support for .yaml #104
Browse files Browse the repository at this point in the history
  • Loading branch information
francescou committed Jan 15, 2018
1 parent e7249dc commit 425733a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/find_files.py
Expand Up @@ -11,7 +11,7 @@ def find_yml_files(path):
"""
matches = {}
for root, _, filenames in os.walk(path, followlinks=True):
for _ in list(set().union(fnmatch.filter(filenames, 'docker-compose.yml'), fnmatch.filter(filenames, 'docker-compose.yaml'))):
for _ in set().union(fnmatch.filter(filenames, 'docker-compose.yml'), fnmatch.filter(filenames, 'docker-compose.yaml')):
key = root.split('/')[-1]
matches[key] = os.path.join(os.getcwd(), root)
return matches
Expand Down

0 comments on commit 425733a

Please sign in to comment.