orchestra: hide subsystem cycle warnings by default (#6047)

This commit is contained in:
Andronik authored and GitHub committed 2022-09-26 12:39:56 +00:00
1 parent fc8d1765ef
commit 5dd7026383
1 file changed
+4 -4
@@ -119,11 +119,11 @@ impl<'a> ConnectionGraph<'a> {
}
}));
match sccs.len() {
0 => println!("✅ Found no strongly connected components, hence no cycles exist"),
1 => println!(
0 => eprintln!("✅ Found no strongly connected components, hence no cycles exist"),
1 => eprintln!(
"⚡ Found 1 strongly connected component which includes at least one cycle"
),
n => println!(
n => eprintln!(
"⚡ Found {n} strongly connected components which includes at least one cycle each"
),
}
@@ -169,7 +169,7 @@ impl<'a> ConnectionGraph<'a> {
}
}
let acc = String::from_iter(acc);
println!("cycle({print_idx:03}) ∈ {scc_tag}: {acc} *");
eprintln!("cycle({print_idx:03}) ∈ {scc_tag}: {acc} *");
}
sccs