Skip to content

Commit

Permalink
docs: update module names in docs (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel authored Aug 5, 2024
1 parent 810c421 commit 8002f85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/writing-generators.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ defmodule Mix.Tasks.YourLib.Gen.YourThing do
use Igniter.Mix.Task

def igniter(igniter, [module_name | _ ] = argv) do
module_name = Igniter.Module.parse(module_name)
path = Igniter.Module.proper_location(module_name)
app_name = Igniter.Application.app_name()
module_name = Igniter.Code.Module.parse(module_name)
path = Igniter.Code.Module.proper_location(module_name)
app_name = Igniter.Project.Application.app_name()

igniter
|> Igniter.create_new_elixir_file(path, """
Expand Down

0 comments on commit 8002f85

Please sign in to comment.