()
| 159 | } |
| 160 | |
| 161 | async getDefaultDescriptors() { |
| 162 | const locators: Array<Descriptor> = []; |
| 163 | |
| 164 | for (const name of SupportedPackageManagerSet as Set<SupportedPackageManagers>) |
| 165 | locators.push({name, range: await this.getDefaultVersion(name)}); |
| 166 | |
| 167 | return locators; |
| 168 | } |
| 169 | |
| 170 | async getDefaultVersion(packageManager: SupportedPackageManagers) { |
| 171 | const definition = this.config.definitions[packageManager]; |
nothing calls this directly
no test coverage detected