refactor/cmd: name the repeated localhost and expose literals, document the empty Windows stub #98
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor/literals-cmd"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of the SonarQube cleanup in #73, the cmd slice. Three go:S1192 and go:S1186 findings. The localhost: pinhole prefix in sbxcontainer.go, three uses, becomes sbxLocalhostPrefix. The --expose= guix shell flag in guixcontainer.go, five uses, becomes guixExposeFlag. The empty Windows handleSIGHUP stub gains a body comment explaining that Windows has no SIGHUP to subscribe to while file watching still provides hot reload. Behaviour unchanged, GOOS=windows go vet passes, existing tests untouched. 🤖 Generated with Claude Code