Use proper passed in patterns

This commit is contained in:
Eric Holscher 2015-07-08 15:14:59 -07:00
parent c20783558e
commit 2abc73ce30

View File

@ -25,7 +25,7 @@ class DotNetSphinxMapper(SphinxMapperBase):
Load objects from the filesystem into the ``paths`` dictionary.
'''
for path in self.find_files(patterns=['project.json'], dir=dir, ignore=ignore):
for path in self.find_files(patterns=patterns, dir=dir, ignore=ignore):
subprocess.check_output(['BuildMeta', '/target:Build', path])
# We now have yaml files
for xdoc_path in self.find_files(patterns=['*.yml'], dir='xdoc', ignore=ignore):