mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
12 lines
227 B
JavaScript
12 lines
227 B
JavaScript
|
const dirs = Deno.readDir("./bins/bin");
|
||
|
|
||
|
let found = false;
|
||
|
for await (const entry of dirs) {
|
||
|
if (entry.name.includes("deno-test-bin")) {
|
||
|
found = true;
|
||
|
}
|
||
|
}
|
||
|
if (!found) {
|
||
|
throw new Error("Failed to find test bin");
|
||
|
}
|