Skip to content

Commit

Permalink
Add cast
Browse files Browse the repository at this point in the history
  • Loading branch information
tetron authored and mr-c committed Sep 7, 2022
1 parent d34a0c9 commit c2cdea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cwltool/command_line_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def revmap_file(
if location.startswith("file://"):
f["path"] = uri_file_path(location)
else:
f["location"] = builder.fs_access.join(outdir, f["location"])
f["location"] = builder.fs_access.join(outdir, cast(str, f["location"]))
return f

if "dirname" in f:
Expand Down

0 comments on commit c2cdea5

Please sign in to comment.