Commit ee4f820
committed
fix: Resolve dupBranchBody in VSCode extension installation
- Extract common command execution logic to eliminate duplicate branches
- Both Windows and non-Windows branches now only differ in executable name
- Fixes gocritic dupBranchBody warning in downloadAndInstallExtension function1 parent 36304bf commit ee4f820
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
| 546 | + | |
547 | 547 | | |
548 | | - | |
| 548 | + | |
549 | 549 | | |
550 | | - | |
| 550 | + | |
551 | 551 | | |
552 | 552 | | |
| 553 | + | |
553 | 554 | | |
554 | 555 | | |
555 | 556 | | |
| |||
0 commit comments