Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rsconnect/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def write_manifest(
return created, skipped


def list_files(base_dir, include_sub_dirs, walk=os.walk):
def list_files(base_dir, include_sub_dirs, walk=os.walk, followlinks=True):
"""List the files in the directory at path.

If include_sub_dirs is True, recursively list
Expand Down Expand Up @@ -1038,7 +1038,7 @@ def create_file_list(
file_set.add(path_to_add)
return sorted(file_set)

for cur_dir, sub_dirs, files in os.walk(path):
for cur_dir, sub_dirs, files in os.walk(path, followlinks=True):
if Path(cur_dir) in exclude_paths:
continue
if any(parent in exclude_paths for parent in Path(cur_dir).parents):
Expand Down