Commit e145792
Remove redundant stdin nil check in api command
The stdin variable is a copy of os.Stdin captured before it's set to nil,
and os.Stdin is virtually always non-nil. The check provided no real
protection and could confuse maintainers.
Fixes #1665
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 1a8e453 commit e145792
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments