add newlines

This commit is contained in:
collin 2022-09-21 03:16:47 -07:00
parent 4c0e99a73d
commit 0137f4caa7
3 changed files with 4 additions and 2 deletions

View File

@ -27,7 +27,6 @@ use leo_span::symbol::with_session_globals;
use aleo::commands::Build as AleoBuild;
use clap::StructOpt;
use colored::Colorize;
use indexmap::IndexMap;
use std::io::Write;
use std::path::{Path, PathBuf};
@ -183,6 +182,7 @@ impl Command for Build {
if self.compiler_options.offline {
args.push("--offline");
}
println!();
let command = AleoBuild::try_parse_from(&args).map_err(CliError::failed_to_execute_aleo_build)?;
let result = command.parse().map_err(CliError::failed_to_execute_aleo_build)?;
@ -275,7 +275,7 @@ fn compile_leo_file(
.map_err(CliError::failed_to_load_instructions)?;
// Prepare the path string.
let path_string = format!("(in \"{}\")", aleo_file_path.display());
let _path_string = format!("(in \"{}\")", aleo_file_path.display());
// Log the build as successful.
tracing::info!("Compiled '{}' into Aleo instructions", file_name,);

View File

@ -50,6 +50,7 @@ impl Command for Deploy {
.map_err(|err| PackageError::failed_to_set_cwd(build_directory.display(), err))?;
// Call the `aleo node` command from the Aleo SDK.
println!();
let command = AleoDeploy::try_parse_from([ALEO_CLI_COMMAND]).map_err(CliError::failed_to_parse_aleo_node)?;
let res = command.parse().map_err(CliError::failed_to_execute_aleo_node)?;

View File

@ -71,6 +71,7 @@ impl Command for Node {
}
// Call the `aleo node` command from the Aleo SDK.
println!();
let command = AleoNode::try_parse_from(&arguments).map_err(CliError::failed_to_parse_aleo_node)?;
let res = command.parse().map_err(CliError::failed_to_execute_aleo_node)?;