Skip to content

Commit e9793db

Browse files
committed
more posix paths
1 parent 4f466ca commit e9793db

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rsconnect/bundle.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ def flattened_data(self):
206206
deploy_dir = self.deploy_dir or deploy_dir
207207
for path in self.data["files"]:
208208
rel_path = relpath(path, deploy_dir)
209-
new_data_files[rel_path] = self.data["files"][path]
209+
manifestPath = Path(rel_path).as_posix()
210+
new_data_files[manifestPath] = self.data["files"][path]
210211
return new_data_files
211212

212213
@property
@@ -217,7 +218,8 @@ def flattened_buffer(self):
217218
deploy_dir = self.deploy_dir or deploy_dir
218219
for k, v in self.buffer.items():
219220
rel_path = relpath(k, deploy_dir)
220-
new_buffer[rel_path] = v
221+
manifestPath = Path(rel_path).as_posix()
222+
new_buffer[manifestPath] = v
221223
return new_buffer
222224

223225
@property

0 commit comments

Comments
 (0)