Skip to content

Commit

Permalink
fixup import
Browse files Browse the repository at this point in the history
  • Loading branch information
EverlastingBugstopper committed Nov 3, 2021
1 parent 4c97829 commit 1c8dfb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/rover-fed2/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ impl RoverFed {
}
Err(composition_err) => {
if self.json {
if let Some(build_errors) = composition_err.downcast_ref::<BuildErrors>() {
if let Some(build_errors) =
composition_err.downcast_ref::<apollo_federation_types::BuildErrors>()
{
print!("{}", serde_json::json!(build_errors));
} else {
println!(
Expand Down

0 comments on commit 1c8dfb9

Please sign in to comment.