Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix seed-db script by passing it the correct admin file path (#8022)
Kirill Bulatove27c2fc946d3
diff --git a/crates/collab/src/bin/seed.rs b/crates/collab/src/bin/seed.rsindex ed24ccef75d..632116a3632 100644--- a/crates/collab/src/bin/seed.rs+++ b/crates/collab/src/bin/seed.rs@@ -18,8 +18,8 @@ struct GitHubUser {async fn main() {load_dotenv().expect("failed to load .env.toml file");- let mut admin_logins =- load_admins("./.admins.default.json").expect("failed to load default admins file");+ let mut admin_logins = load_admins("crates/collab/.admins.default.json")+ .expect("failed to load default admins file");if let Ok(other_admins) = load_admins("./.admins.json") {admin_logins.extend(other_admins);}