Skip to content

Commit

Permalink
fix: init.rhai syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbz00 committed Aug 16, 2024
1 parent 7566a01 commit 563bb80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo_generate_hooks/init.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fn prompt_variable(name, prompt) {
}

fn prompt_optional_string(name, prompt) {
lev optional_value = variable::prompt(name, `${prompt} (enter one space character if none)`);
let optional_value = variable::prompt(name, `${prompt} (enter one space character if none)`);

if optional_value != " " {
variable::set(name, optional_value);
Expand Down

0 comments on commit 563bb80

Please sign in to comment.