| 20120 | for (const directory of directories) { |
| 20121 | const filePath = yield tryGetExecutablePath(path2.join(directory, tool), extensions); |
| 20122 | if (filePath) { |
| 20123 | matches.push(filePath); |
| 20124 | } |
| 20125 | } |
| 20126 | return matches; |
| 20127 | }); |
| 20128 | } |
| 20129 | |
| 20130 | // |
| 20131 | var import_timers = __require("timers"); |
| 20132 | var __awaiter4 = function(thisArg, _arguments, P, generator) { |
| 20133 | function adopt(value) { |
| 20134 | return value instanceof P ? value : new P(function(resolve2) { |
| 20135 | resolve2(value); |
| 20136 | }); |
| 20137 | } |
| 20138 | return new (P || (P = Promise))(function(resolve2, reject) { |
| 20139 | function fulfilled(value) { |
| 20140 | try { |