(options, toolPath)
| 20263 | }); |
| 20264 | }; |
| 20265 | var { chmod, copyFile, lstat, mkdir, open, readdir, rename, rm, rmdir, stat, symlink, unlink } = fs2.promises; |
| 20266 | var IS_WINDOWS = process.platform === "win32"; |
| 20267 | var READONLY = fs2.constants.O_RDONLY; |
| 20268 | function exists(fsPath) { |
| 20269 | return __awaiter2(this, void 0, void 0, function* () { |
| 20270 | try { |
| 20271 | yield stat(fsPath); |
| 20272 | } catch (err) { |
| 20273 | if (err.code === "ENOENT") { |
| 20274 | return false; |
| 20275 | } |
| 20276 | throw err; |
| 20277 | } |
| 20278 | return true; |