(versions)
| 197 | } |
| 198 | |
| 199 | _commitModulesInner(versions) { |
| 200 | const base = join(this._getHostPath(), 'modules'); |
| 201 | |
| 202 | for (const m in versions.current_modules) { |
| 203 | const path = join(base, `${m}-${versions.current_modules[m]}`); |
| 204 | if (this.committedModules.has(m) || Module.globalPaths.includes(path)) continue; |
| 205 | |
| 206 | this.committedModules.add(m); |
| 207 | this.committedModulePaths.set(m, join(path, m)); |
| 208 | Module.globalPaths.unshift(path); |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | _recordDownloadProgress(name, progress) { |
| 213 | const now = String(hrtime.bigint()); |
no test coverage detected