Commit d2dc5ac
committed
fix(env): convert CI to boolean and fix type comparison
- Convert ENV.CI to boolean using envAsBoolean (consistent with VITEST)
- Fix cli-entry.mts to use boolean comparison instead of string comparison
- Fixes TypeScript error: "This comparison appears to be unintentional because the types 'boolean' and 'string' have no overlap"
- Both ENV.VITEST and ENV.CI are now properly typed as booleans1 parent 87e7664 commit d2dc5ac
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments