Commit 847d2ba
committed
fix(mise-tasks): handle unset CI variable in test script
Add missing check for unset CI environment variable in the is-in-ci function. The function now returns false immediately when CI is unset, preventing errors in the case statement when converting an unset variable to lowercase.
This ensures the script handles both unset and false CI values consistently without errors.1 parent 007105e commit 847d2ba
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
0 commit comments