Commit 607aa50
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 <rs@ti.com>1 parent 41862ca commit 607aa50
1 file changed
Lines changed: 1 addition & 1 deletion
| 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