Skip to content

Commit d7b1bf3

Browse files
authored
Merge pull request #1302 from gungorbudak/fix-secondaryfiles-collection-win
change hardcoded path sep to os.sep
2 parents e6c2d95 + 8e32f29 commit d7b1bf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/command_line_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ def collect_output(
10661066
if isinstance(primary, MutableMapping):
10671067
primary.setdefault("secondaryFiles", [])
10681068
pathprefix = primary["path"][
1069-
0 : primary["path"].rindex("/") + 1
1069+
0 : primary["path"].rindex(os.sep) + 1
10701070
]
10711071
for sf in aslist(schema["secondaryFiles"]):
10721072
if "required" in sf:

0 commit comments

Comments
 (0)