Commit 56d8113
committed
linters(dart): prefer system dart on PATH, fall back to downloaded SDK
Reorder environment PATH to ["${env.PATH}", "${linter}/bin"] so that a
project-local dart binary (e.g. managed by Flutter) is used when available.
Falls back to trunk's downloaded SDK when no system dart exists. Same
pattern as buf, trivy, and clippy.1 parent 337d786 commit 56d8113
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments