(method: InstallMethod)
| 450 | // --- Helpers --- |
| 451 | |
| 452 | function isAutoUpgradeMethod(method: InstallMethod): method is AutoUpgradeMethod { |
| 453 | return method.kind === 'homebrew' || method.kind === 'npm-global'; |
| 454 | } |
| 455 | |
| 456 | function writeLine(text: string): void { |
| 457 | process.stdout.write(`${text}\n`); |