(command: string | undefined)
| 107 | } |
| 108 | |
| 109 | function writeInstallInProgressNotice(command: string | undefined): void { |
| 110 | if (!isInstallLikeCommand(command) || process.stderr.isTTY !== true || process.env.CI) return; |
| 111 | process.stderr.write( |
| 112 | command === PUBLIC_COMMANDS.reinstall ? 'Reinstalling...\n' : 'Installing...\n', |
| 113 | ); |
| 114 | } |
| 115 | |
| 116 | function isInstallLikeCommand(command: string | undefined): boolean { |
| 117 | return ( |
no test coverage detected