Commit 1cd222a
committed
ci(previews): fix index identifier function
Find operates in breadth-first by default. There can only be one index
per directory. Might as well shorten this find expression to print and
bail out after the first match.
Also resolves the issue where other non-root index files will be picked
as the root index due to sorting precedence.
Signed-off-by: Randolph Sapp <[email protected]>1 parent 0699d1b commit 1cd222a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments