Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UsefulSoftwareCo/executor
/ resolveChannel
Function
resolveChannel
scripts/publish-packages.ts:63–63 ·
view source on GitHub ↗
(version: string)
Source
from the content-addressed store, hash-verified
61
};
62
63
const
resolveChannel = (version: string): Channel => (version.includes(
"-"
) ?
"beta"
:
"latest"
);
64
65
const
readPackageMeta =
async
(pkgDir: string) => {
66
const
pkgJsonPath = join(pkgDir,
"package.json"
);
Callers
1
publishPackage
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected