()
| 78 | * to the devtools-frontend source code. |
| 79 | */ |
| 80 | export function rootPath() { |
| 81 | const {isInChromium, chromiumDirectory} = isInChromiumDirectory(); |
| 82 | if (isInChromium) { |
| 83 | return chromiumDirectory; |
| 84 | } |
| 85 | return devtoolsRootPath(); |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * Path to the third_party directory. Used because if we're running in Chromium |
no test coverage detected