Skip to content

Commit

Permalink
rustfmt cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: qubitrenagade <qubitrenegade@gmail.com>
  • Loading branch information
qubitrenegade committed Mar 9, 2019
1 parent cbaa742 commit 0f3c654
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions components/hab/src/command/plan/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ pub fn start(ui: &mut UI,

if !quiet {
ui.begin(format!("Rendering: {} into: {} as: {}",
template_path.display(), render_dir.display(), file_name.display()))?;
template_path.display(),
render_dir.display(),
file_name.display()))?;
ui.br()?;
}

Expand Down Expand Up @@ -106,13 +108,15 @@ pub fn start(ui: &mut UI,
if print {
if !quiet {
ui.br()?;
ui.warn(format!("###======== Rendered template: {}", &template_path.display()))?;
ui.warn(format!("###======== Rendered template: {}",
&template_path.display()))?;
}

println!("{}", rendered_template);

if !quiet {
ui.warn(format!("========### End rendered template: {}", &template_path.display()))?;
ui.warn(format!("========### End rendered template: {}",
&template_path.display()))?;
}
}

Expand Down

0 comments on commit 0f3c654

Please sign in to comment.