Skip to content

Commit

Permalink
chore: cspell
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Feb 3, 2023
1 parent d1f2986 commit 52b0d2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/nargo/src/cli/execute_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ fn execute(
show_ssa: bool,
allow_warnings: bool,
) -> Result<(Option<InputValue>, BTreeMap<Witness, FieldElement>), CliError> {
let curr_dir = std::env::current_dir().unwrap();
let current_dir = std::env::current_dir().unwrap();

let compiled_program =
super::compile_cmd::compile_circuit(&curr_dir, show_ssa, allow_warnings)?;
super::compile_cmd::compile_circuit(&current_dir, show_ssa, allow_warnings)?;

execute_program(curr_dir, &compiled_program)
execute_program(current_dir, &compiled_program)
}

pub(crate) fn execute_program<P: AsRef<Path>>(
Expand Down

0 comments on commit 52b0d2c

Please sign in to comment.