Merge pull request #2087 from AleoHQ/fix/cli-output

fix newline
This commit is contained in:
Collin Chin 2022-09-21 13:11:16 -07:00 committed by GitHub
commit dac17f3768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,6 @@ impl Command for Build {
if self.compiler_options.offline { if self.compiler_options.offline {
args.push("--offline"); args.push("--offline");
} }
println!();
let command = AleoBuild::try_parse_from(&args).map_err(CliError::failed_to_execute_aleo_build)?; 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)?; let result = command.parse().map_err(CliError::failed_to_execute_aleo_build)?;

View File

@ -86,6 +86,7 @@ impl Command for Run {
if self.compiler_options.offline { if self.compiler_options.offline {
arguments.push(String::from("--offline")); arguments.push(String::from("--offline"));
} }
println!();
let command = AleoRun::try_parse_from(&arguments).map_err(CliError::failed_to_parse_aleo_run)?; let command = AleoRun::try_parse_from(&arguments).map_err(CliError::failed_to_parse_aleo_run)?;
let res = command.parse().map_err(CliError::failed_to_execute_aleo_run)?; let res = command.parse().map_err(CliError::failed_to_execute_aleo_run)?;