We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0fea4b commit 0c41230Copy full SHA for 0c41230
rsconnect/bundle.py
@@ -433,7 +433,13 @@ def keep_manifest_specified_file(relative_path):
433
:param relative_path: the relative path name to check.
434
:return: True, if the path should kept or False, if it should be ignored.
435
"""
436
- return Path(relative_path) in directories_to_ignore
+ p = Path(relative_path)
437
+ for parent in p.parents:
438
+ if parent in directories_to_ignore:
439
+ return False
440
+ if p in directories_to_ignore:
441
442
+ return True
443
444
445
def _default_title_from_manifest(the_manifest, manifest_file):
0 commit comments