( binary: string, absolutePath: string, line: number | undefined, platform: NodeJS.Platform, )
| 136 | } |
| 137 | |
| 138 | function openInVsCodeLike( |
| 139 | binary: string, |
| 140 | absolutePath: string, |
| 141 | line: number | undefined, |
| 142 | platform: NodeJS.Platform, |
| 143 | ): LaunchCommand { |
| 144 | const target = line !== undefined ? `${absolutePath}:${line}` : absolutePath; |
| 145 | const flag = line !== undefined ? '-g ' : ''; |
| 146 | return { |
| 147 | command: `${binary} ${flag}${quoteShellArg(target, platform)}`, |
| 148 | args: [], |
| 149 | shell: true, |
| 150 | }; |
| 151 | } |
| 152 | |
| 153 | function openInFinder( |
| 154 | absolutePath: string, |
no test coverage detected