MCPcopy
hub / github.com/desktop/desktop / isChannelToValidate

Function isChannelToValidate

script/validate-electron-version.ts:68–70  ·  view source on GitHub ↗
(channel: string)

Source from the content-addressed store, hash-verified

66)
67
68function isChannelToValidate(channel: string): channel is ChannelToValidate {
69 return Object.keys(ValidElectronVersions).includes(channel)
70}
71
72function resolveVersionInNpmRcFile() {
73 const root = dirname(__dirname)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected