Skip to content

Commit e96be73

Browse files
author
Peter Amstutz
committed
Fix typo WorkflowError -> WorkflowException
1 parent 5e792de commit e96be73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/draft2tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def collect_output(self, schema, builder, outdir):
261261

262262
for gb in globpatterns:
263263
if gb.startswith("/"):
264-
raise WorkflowError("glob patterns must not start with '/'")
264+
raise WorkflowException("glob patterns must not start with '/'")
265265
try:
266266
r.extend([{"path": g, "class": "File", "hostfs": True}
267267
for g in builder.fs_access.glob(os.path.join(outdir, gb))])

0 commit comments

Comments
 (0)