()
| 173 | } |
| 174 | |
| 175 | export async function isGlobal(): Promise<boolean> { |
| 176 | try { |
| 177 | return (await resolveInstall()).global; |
| 178 | } catch (_) { |
| 179 | // Default to global |
| 180 | return true; |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | export async function getUpdateCommandInfo(): Promise<{ |
| 185 | command: string; |
no test coverage detected