Skip to content

Commit defe031

Browse files
committed
for Create{Writable,}File, 'resolved' is the contents, not the path
1 parent 8ed6838 commit defe031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ def create_file_and_add_volume(self,
486486
if not host_outdir_tgt:
487487
new_file = os.path.join(
488488
tempfile.mkdtemp(dir=self.tmpdir),
489-
os.path.basename(volume.resolved))
489+
os.path.basename(volume.target))
490490
writable = True if volume.type == "CreateWritableFile" else False
491491
if secret_store:
492492
contents = secret_store.retrieve(volume.resolved)

0 commit comments

Comments
 (0)