MCPcopy Create free account
hub / github.com/cli/cli / normalizeJSON

Function normalizeJSON

pkg/cmd/codespace/ports.go:398–401  ·  view source on GitHub ↗
(j []byte)

Source from the content-addressed store, hash-verified

396}
397
398func normalizeJSON(j []byte) []byte {
399 // remove trailing commas
400 return bytes.ReplaceAll(j, []byte("},}"), []byte("}}"))
401}

Callers 1

getDevContainerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected