Commit aefa4f3
Refactor Podfile CI env var detection defensively
- match common CI platforms setting 'CI' to 'true'
- modern/popular CI convention
- OS/shell env vars always strings
- handle unset OS/shell env vars
- Ruby returns `nil` object (`NilClass`)
- Ruby method `.to_s` handles `nil` to empty string `""`
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 2cfe1cb commit aefa4f3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments