Skip to content

Commit

Permalink
exclude test from bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
delcroip committed Jan 23, 2023
1 parent 9b03d6c commit af0491d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyfhirsdc/services/generateBundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def write_bundle(conf):
ext = ('.json')
# iterating over directory and subdirectory to get desired result
for path, dirc, files in os.walk(folderdir):
if "ext_ig" not in path:
if "ext_ig" not in path and "tests" not in path:
for name in files:
if name.endswith(ext):
print(conf, path, dirc, name) # printing file name
Expand Down

0 comments on commit af0491d

Please sign in to comment.