MCPcopy Index your code
hub / github.com/anomalyco/opencode / normalizeRunId

Function normalizeRunId

packages/opencode/src/cli/cmd/github.handler.ts:666–670  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

664 }
665
666 function normalizeRunId() {
667 const value = process.env["GITHUB_RUN_ID"]
668 if (!value) throw new Error(`Environment variable "GITHUB_RUN_ID" is not set`)
669 return value
670 }
671
672 function normalizeShare() {
673 const value = process.env["SHARE"]

Callers 1

github.handler.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected