()
| 43 | * Check if we're running from our managed local installation |
| 44 | */ |
| 45 | export function isRunningFromLocalInstallation(): boolean { |
| 46 | const execPath = process.argv[1] || '' |
| 47 | return execPath.includes(`${getLocalInstallDir()}/node_modules/`) |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * Write `content` to `path` only if the file does not already exist. |
no test coverage detected