MCPcopy Index your code
hub / github.com/nodejs/node / bodyToOptions

Method bodyToOptions

deps/npm/lib/trust-cmd.js:199–204  ·  view source on GitHub ↗
(body)

Source from the content-addressed store, hash-verified

197
198 // generic
199 static bodyToOptions (body) {
200 return {
201 ...(body.id) && { id: body.id },
202 ...(body.type) && { type: body.type },
203 }
204 }
205
206 async createConfigCommand ({ positionalArgs, flags }) {
207 const { providerName, providerEntity, providerHostname } = this.constructor

Callers 5

displayResponseBodyMethod · 0.45
trust-cmd.jsFile · 0.45
circleci.jsFile · 0.45
gitlab.jsFile · 0.45
github.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected