Skip to content

Commit

Permalink
fix: properly create or update config files
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Sep 24, 2024
1 parent 784819f commit 2524896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/igniter/project/config.ex
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ defmodule Igniter.Project.Config do
"""

igniter
|> Igniter.create_or_update_file("config/runtime.exs", default_runtime, &{:ok, &1})
|> Igniter.create_or_update_elixir_file("config/runtime.exs", default_runtime, &{:ok, &1})
|> Igniter.update_elixir_file("config/runtime.exs", fn zipper ->
patterns = [
"""
Expand Down

0 comments on commit 2524896

Please sign in to comment.