Skip to content

Commit ad21bce

Browse files
committed
Fix cached output handling
1 parent 05b3276 commit ad21bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/executors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def execute(self,
9797
path_mapper=runtime_context.path_mapper)
9898

9999
if runtime_context.rm_tmpdir:
100-
cleanIntermediate(filter(lambda x: x != runtime_context.cachedir, self.output_dirs))
100+
cleanIntermediate(filter(lambda x: not x.startswith(runtime_context.cachedir), self.output_dirs))
101101

102102
if self.final_output and self.final_status:
103103

0 commit comments

Comments
 (0)