mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 23:04:45 -05:00
parent
4a5642779e
commit
55137c9db4
1 changed files with 6 additions and 1 deletions
|
@ -88,7 +88,12 @@ async function dlint() {
|
|||
}),
|
||||
);
|
||||
}
|
||||
await Promise.allSettled(pending);
|
||||
const results = await Promise.allSettled(pending);
|
||||
for (const result of results) {
|
||||
if (result.status === "rejected") {
|
||||
throw new Error(result.reason);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// `prefer-primordials` has to apply only to files related to bootstrapping,
|
||||
|
|
Loading…
Reference in a new issue