MCPcopy Index your code
hub / github.com/coderoad/coderoad-vscode / compareVersions

Function compareVersions

src/services/dependencies/index.ts:23–26  ·  view source on GitHub ↗
(currentVersion: string, expectedVersion: string)

Source from the content-addressed store, hash-verified

21}
22
23export const compareVersions = async (currentVersion: string, expectedVersion: string): Promise<never | boolean> => {
24 // see node-semver docs: https://github.com/npm/node-semver
25 return satisfies(currentVersion, expectedVersion)
26}

Callers 2

onTutorialConfigNewFunction · 0.90
initFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected