docs: update module names in docs (#74)
Some checks are pending
CI / ash-ci (push) Waiting to run

This commit is contained in:
Mayel de Borniol 2024-08-05 15:10:39 +01:00 committed by GitHub
parent 810c42160a
commit 8002f8526d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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, """