mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
commit
dac17f3768
@ -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)?;
|
||||||
|
|
||||||
|
@ -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)?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user