mirror of
https://github.com/denoland/deno.git
synced 2024-12-01 16:51:13 -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");
|
||
|
}
|