Skip to content

Commit f24c724

Browse files
committed
Fix local variables
1 parent 4bf3cd8 commit f24c724

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bin/generator-utils/templates.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ EOT
4242
else
4343
local canonical_json
4444
canonical_json=$(cat canonical_data.json)
45-
local canonical_json
4645

4746
# sometimes canonical data has multiple levels with multiple `cases` arrays.
4847
#(see kindergarten-garden https://github.com/exercism/problem-specifications/blob/main/exercises/kindergarten-garden/canonical-data.json)
@@ -115,7 +114,6 @@ create_example_rs_template() {
115114

116115
local fn_name
117116
fn_name=$(create_fn_name "$slug" "$has_canonical_data")
118-
local fn_name
119117

120118
mkdir "${exercise_dir}/.meta"
121119
cat <<EOT >"${exercise_dir}/.meta/example.rs"

0 commit comments

Comments
 (0)