From 0d9737ac1cbd88629975cd0d905d12b6c9aeff3b Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Tue, 5 Jul 2022 21:18:00 +0800 Subject: [PATCH] Fix project root assert Signed-off-by: hi-rustin --- crates/sourcegen/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/sourcegen/src/lib.rs b/crates/sourcegen/src/lib.rs index 719b35b630..d991846c7f 100644 --- a/crates/sourcegen/src/lib.rs +++ b/crates/sourcegen/src/lib.rs @@ -196,6 +196,6 @@ fn normalize_newlines(s: &str) -> String { pub fn project_root() -> PathBuf { let dir = env!("CARGO_MANIFEST_DIR"); let res = PathBuf::from(dir).parent().unwrap().parent().unwrap().to_owned(); - assert!(res.join("bors.toml").exists()); + assert!(res.join("triagebot.toml").exists()); res }