diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-05-29 14:38:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 18:38:18 +0000 |
commit | 94f040ac2867706d261e2fe1ec8bc2c4263eb6ab (patch) | |
tree | 5eaed4d41efd8d25da839bc29b8d32554e1a0fca /cli/lsp/config.rs | |
parent | fada25b0dd593efee496dabb48ed9cb7a9cb6647 (diff) |
fix: bump cache sqlite dbs to v2 for WAL journal mode change (#24030)
In https://github.com/denoland/deno/pull/23955 we changed the sqlite db
journal mode to WAL. This causes issues when someone is running an old
version of Deno using TRUNCATE and a new version because the two fight
against each other.
Diffstat (limited to 'cli/lsp/config.rs')
-rw-r--r-- | cli/lsp/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/config.rs b/cli/lsp/config.rs index 543200ad1..43b8a5fb7 100644 --- a/cli/lsp/config.rs +++ b/cli/lsp/config.rs @@ -807,7 +807,7 @@ impl Settings { } pub fn enable_settings_hash(&self) -> u64 { - let mut hasher = FastInsecureHasher::default(); + let mut hasher = FastInsecureHasher::new_without_deno_version(); let unscoped = self.get_unscoped(); hasher.write_hashable(unscoped.enable); hasher.write_hashable(&unscoped.enable_paths); |