mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
fix: Deno.emit crashes with BorrowMutError (#12627)
Warn on await_holding_refcell_ref clippy rule to avoid this in the future. Fixes #12453
This commit is contained in:
parent
95b2955712
commit
7c2abb9d57
7 changed files with 47 additions and 7 deletions
|
@ -109,7 +109,14 @@ async function clippy() {
|
|||
}
|
||||
|
||||
const p = Deno.run({
|
||||
cmd: [...cmd, "--", "-D", "clippy::all"],
|
||||
cmd: [
|
||||
...cmd,
|
||||
"--",
|
||||
"-D",
|
||||
"clippy::all",
|
||||
"-D",
|
||||
"clippy::await_holding_refcell_ref",
|
||||
],
|
||||
});
|
||||
const { success } = await p.status();
|
||||
if (!success) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue