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

Function normalizeJSON

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

Source from the content-addressed store, hash-verified

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

Callers 1

getDevContainerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected