(path: string = installPlanPath())
| 77 | |
| 78 | |
| 79 | export function deleteInstallPlan(path: string = installPlanPath()): void { |
| 80 | try { |
| 81 | rmSync(path, { force: true }); |
| 82 | } catch { |
| 83 | |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | function isInstallPlan(value: unknown): value is InstallPlan { |
| 88 | if (typeof value !== 'object' || value === null) return false; |
no test coverage detected