diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2021-11-03 09:27:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 09:27:36 -0400 |
commit | 7c2abb9d579d13fa61339c24f8c39bc3c27c25db (patch) | |
tree | c3ce3cefff867dd3f073eda18ebed53f728e4675 /tools/lint.js | |
parent | 95b2955712b0daae3c8e8f7bb0eccf341b5c8fa3 (diff) |
fix: Deno.emit crashes with BorrowMutError (#12627)
Warn on await_holding_refcell_ref clippy rule to avoid this in the future.
Fixes #12453
Diffstat (limited to 'tools/lint.js')
-rwxr-xr-x | tools/lint.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/lint.js b/tools/lint.js index 03339bcbe..bcb181e29 100755 --- a/tools/lint.js +++ b/tools/lint.js @@ -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) { |