(sig: any)
| 165 | await writeJSONFile(packageJsonBackupPath, readonlyPackageJson, true); |
| 166 | |
| 167 | const exitHandler = async (sig: any) => { |
| 168 | log.warn( |
| 169 | `You may have to manually roll back any package.json changes. Backup written to ${packageJsonBackupPath}` |
| 170 | ); |
| 171 | }; |
| 172 | |
| 173 | // Add exit handler to warn about manual rollback of package.json |
| 174 | // Automatically rolling back can end up overwriting with an empty file instead |
nothing calls this directly
no test coverage detected
searching dependent graphs…