(dartSdkPath: string)
| 92 | } |
| 93 | |
| 94 | export function isDartSdkFromFlutter(dartSdkPath: string) { |
| 95 | const possibleFlutterSdkPath = path.join(path.dirname(path.dirname(path.dirname(dartSdkPath))), "bin"); |
| 96 | return fs.existsSync(path.join(possibleFlutterSdkPath, executableNames.flutter)); |
| 97 | } |
| 98 | |
| 99 | export function versionIsAtLeast(inputVersion: string, requiredVersion: string): boolean { |
| 100 | return semver.gte(inputVersion, requiredVersion); |
no outgoing calls
no test coverage detected