()
| 109 | } |
| 110 | |
| 111 | export function nodePath() { |
| 112 | const paths = { |
| 113 | darwin: path.join( |
| 114 | process.arch === 'arm64' ? 'mac_arm64' : 'mac', |
| 115 | process.arch === 'arm64' ? 'node-darwin-arm64' : 'node-darwin-x64', |
| 116 | 'bin', |
| 117 | 'node', |
| 118 | ), |
| 119 | linux: path.join('linux', 'node-linux-x64', 'bin', 'node'), |
| 120 | win32: path.join('win', 'node.exe'), |
| 121 | }; |
| 122 | return path.join(thirdPartyPath(), 'node', paths[os.platform()]); |
| 123 | } |
| 124 | |
| 125 | /** |
| 126 | * The path to the devtools-frontend node_modules folder. |
no test coverage detected