diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-05-08 11:02:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-08 11:02:02 -0400 |
| commit | df1ca4a158eda08846e11ceb03dd68d6fcffda75 (patch) | |
| tree | a2c3f2922a3b6326d223e079e3acbedb95048918 /ext/node/clippy.toml | |
| parent | 0aa2d7c9c16c514e47bbd07ca90552f9159901ef (diff) | |
refactor(ext/fs): `deno_fs::FileSystem` - conditional `Send + Sync` (#18993)
This allows for having a conditional `Send + Sync` on the file system trait for Deploy.
Diffstat (limited to 'ext/node/clippy.toml')
| -rw-r--r-- | ext/node/clippy.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/node/clippy.toml b/ext/node/clippy.toml index 31d9d7d47..02fd259d0 100644 --- a/ext/node/clippy.toml +++ b/ext/node/clippy.toml @@ -38,3 +38,6 @@ disallowed-methods = [ { path = "std::fs::symlink_metadata", reason = "File system operations should be done using FileSystem trait" }, { path = "std::fs::write", reason = "File system operations should be done using FileSystem trait" }, ] +disallowed-types = [ + { path = "std::sync::Arc", reason = "use deno_fs::sync::MaybeArc instead" }, +] |
