(p)
| 19873 | }); |
| 19874 | } |
| 19875 | function isRooted(p) { |
| 19876 | p = normalizeSeparators(p); |
| 19877 | if (!p) { |
| 19878 | throw new Error('isRooted() parameter "p" cannot be empty'); |
| 19879 | } |
| 19880 | if (IS_WINDOWS) { |
| 19881 | return p.startsWith("\\") || /^[A-Z]:/i.test(p); |
| 19882 | } |
| 19883 | return p.startsWith("/"); |
| 19884 | } |
| 19885 | function tryGetExecutablePath(filePath, extensions) { |
| 19886 | return __awaiter2(this, void 0, void 0, function* () { |
| 19887 | let stats = void 0; |
no test coverage detected