Skip to content

Commit 494bb93

Browse files
authored
docs: update writing generators section code example (#302)
1 parent ab5cc21 commit 494bb93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

documentation/writing-generators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ defmodule Mix.Tasks.YourLib.Gen.YourThing do
3434
app_name,
3535
[:list_of_things],
3636
[module_name],
37-
&Igniter.Code.List.prepend_new_to_list(&1, module_name)
37+
updater: &Igniter.Code.List.prepend_new_to_list(&1, module_name)
3838
)
3939
end
4040
end

0 commit comments

Comments
 (0)