Skip to content

Commit a5976f3

Browse files
author
Peter Amstutz
committed
Unify Directory listing, InitialWorkDir and secondaryFiles to accept equivalent
type.
1 parent eb9449f commit a5976f3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

draft-4/CommandLineTool.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ $graph:
646646
- name: listing
647647
type:
648648
- type: array
649-
items: DirentExt
649+
items: [File, DirentExt]
650650
- string
651651
- Expression
652652
jsonldPredicate:

draft-4/Process.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,10 @@ $graph:
225225
_id: "cwl:path"
226226
_type: "@id"
227227
- name: listing
228-
type: Dirent[]?
228+
type:
229+
- "null"
230+
- type: array
231+
items: [File, Dirent]
229232
doc: List of files or subdirectories contained in this directory
230233
jsonldPredicate:
231234
_id: "cwl:listing"

0 commit comments

Comments
 (0)