MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / isStableSdk

Function isStableSdk

src/shared/utils.ts:127–131  ·  view source on GitHub ↗
(sdkVersion?: string)

Source from the content-addressed store, hash-verified

125}
126
127export function isStableSdk(sdkVersion?: string): boolean {
128 // We'll consider empty versions as dev; stable versions will likely always
129 // be shipped with valid version files.
130 return !!(sdkVersion && !semver.prerelease(sdkVersion));
131}
132
133export function usingCustomScript(binPath: string, binArgs: string[], customScript: CustomScript | undefined): ExecutionInfo {
134 if (customScript?.script) {

Callers 1

util.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected