Commit e435cfc
Replace identity comparison with .equals() for ABSENT_SENTINEL
Use .equals() instead of == for the sentinel check. The sentinel value
contains null bytes that cannot appear in real environment variables,
making .equals() safe and eliminating the CodeQL string-identity alert.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c4e523e3-9d39-4598-90ec-54d959c44ce81 parent 82e2bdc commit e435cfc
1 file changed
Lines changed: 2 additions & 5 deletions
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 123 | + | |
| 124 | + | |
128 | 125 | | |
129 | 126 | | |
130 | 127 | | |
| |||
0 commit comments