Commit 2e50673
committed
Remove dead nil check in org switch command
SelectOrganization() never returns (nil, nil) - all code paths that return
a nil organization also return a non-nil error. The error check on line 23-25
already handles all nil cases, making the subsequent nil check unreachable.1 parent 62c369f commit 2e50673
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 26 | | |
30 | 27 | | |
31 | 28 | | |
| |||
0 commit comments