mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 17:49:08 -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");
|
||
|
}
|