Skip to content

Commit

Permalink
feat(nargo): remove misleading quotes in generated Prover.toml (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Apr 3, 2023
1 parent 779ab66 commit 57c817f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/nargo_cli/src/cli/check_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ fn check_from_path<P: AsRef<Path>>(p: P, compile_options: &CompileOptions) -> Re
fn build_placeholder_input_map(
parameters: Vec<AbiParameter>,
return_type: Option<AbiType>,
) -> BTreeMap<String, &'static str> {
let default_value = |typ: AbiType| {
) -> BTreeMap<String, toml::Value> {
let default_value = |typ: AbiType| -> toml::Value {
if matches!(typ, AbiType::Array { .. }) {
"[]"
toml::Value::Array(Vec::new())
} else {
""
toml::Value::String("".to_owned())
}
};

Expand Down

0 comments on commit 57c817f

Please sign in to comment.