Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix conflict indices (#30585)

Conrad Irwin98a18e04f7ed
diff --git a/crates/workspace/src/persistence.rs b/crates/workspace/src/persistence.rs
index f4371651116..2d0aded1ed4 100644
--- a/crates/workspace/src/persistence.rs
+++ b/crates/workspace/src/persistence.rs
@@ -1403,8 +1403,8 @@ impl WorkspaceDb {
INSERT INTO toolchains(workspace_id, worktree_id, relative_worktree_path, language_name, name, path) VALUES (?, ?, ?, ?, ?, ?)
ON CONFLICT DO
UPDATE SET
- name = ?4,
- path = ?5
+ name = ?5,
+ path = ?6
))
.context("Preparing insertion")?;