Skip to content

Commit f66fb38

Browse files
authored
Inline hujson dependency in main require block (#4936)
## Summary - Move the `hujson` dependency (added in #4559) into the main `require` block instead of keeping it in a separate block with a comment. This library is needed to read and write VS Code's `settings.json`, which uses JSONC (JSON with Comments and trailing commas). It allows the CLI to parse, patch, and write back settings without destroying user comments. This pull request was AI-assisted by Isaac.
1 parent 7b69412 commit f66fb38

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ require (
3333
github.com/spf13/cobra v1.10.2 // Apache 2.0
3434
github.com/spf13/pflag v1.0.10 // BSD-3-Clause
3535
github.com/stretchr/testify v1.11.1 // MIT
36+
github.com/tailscale/hujson v0.0.0-20250605163823-992244df8c5a // BSD-3-Clause
3637
go.yaml.in/yaml/v3 v3.0.4 // MIT, Apache 2.0
3738
golang.org/x/crypto v0.49.0 // BSD-3-Clause
3839
golang.org/x/exp v0.0.0-20260112195511-716be5621a96
@@ -46,9 +47,6 @@ require (
4647

4748
require gopkg.in/yaml.v3 v3.0.1 // indirect
4849

49-
// Dependencies for experimental SSH commands
50-
require github.com/tailscale/hujson v0.0.0-20250605163823-992244df8c5a // BSD-3-Clause
51-
5250
require (
5351
cloud.google.com/go/auth v0.18.1 // indirect
5452
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect

0 commit comments

Comments
 (0)