MCPcopy Index your code
hub / github.com/cli/cli / normalizeJSON

Function normalizeJSON

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

Source from the content-addressed store, hash-verified

383}
384
385func normalizeJSON(j []byte) []byte {
386 // remove trailing commas
387 return bytes.ReplaceAll(j, []byte("},}"), []byte("}}"))
388}

Callers 1

getDevContainerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected