Commit abf5d46
style: remove unreachable IsNullOrEmpty guard in Split-SemVerString
The previous commit added [ValidateNotNullOrEmpty()] to $VersionString,
which makes the in-body IsNullOrEmpty check unreachable under normal
parameter binding — both Copilot and CodeRabbit flagged it as dead
code. Removing the redundant guard.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 703c2a8 commit abf5d46
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 43 | | |
48 | 44 | | |
49 | 45 | | |
| |||
0 commit comments