From 1c8dfb9c9b440845d59e58f437274429a9aac900 Mon Sep 17 00:00:00 2001 From: Avery Harnish Date: Wed, 3 Nov 2021 07:34:38 -0500 Subject: [PATCH] fixup import --- plugins/rover-fed2/src/cli.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/rover-fed2/src/cli.rs b/plugins/rover-fed2/src/cli.rs index 9a97a2995..10272464e 100644 --- a/plugins/rover-fed2/src/cli.rs +++ b/plugins/rover-fed2/src/cli.rs @@ -36,7 +36,9 @@ impl RoverFed { } Err(composition_err) => { if self.json { - if let Some(build_errors) = composition_err.downcast_ref::() { + if let Some(build_errors) = + composition_err.downcast_ref::() + { print!("{}", serde_json::json!(build_errors)); } else { println!(