Skip to content

Commit 27de674

Browse files
author
Bogdan Gavrilovic
committed
Unify order of secondaryFile pattern processing
1 parent 5f3980b commit 27de674

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Process.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -900,12 +900,12 @@ $graph:
900900
it specifies that the following pattern should be applied to the path
901901
of the primary file to yield a filename relative to the primary File:
902902
903-
1. If string begins with one or more caret `^` characters, for each
903+
1. If string ends with `?` character, remove the last `?` and mark
904+
the resulting secondary file as optional.
905+
2. If string begins with one or more caret `^` characters, for each
904906
caret, remove the last file extension from the path (the last
905907
period `.` and all following characters). If there are no file
906908
extensions, the path is unchanged.
907-
2. If string ends with `?` character, remove the last `?` and mark
908-
the resulting secondary file as optional.
909909
3. Append the remainder of the string to the end of the file path.
910910
- name: required
911911
type: ["null", boolean, string, Expression]

0 commit comments

Comments
 (0)