Open mihya opened 1 year ago
During compiling of an already existing project (during phoenix migration from 1.6 to 1.7) I got the following error:
`==> phoenix_haml Compiling 4 files (.ex) error: undefined variable "raise_with_help" lib/mix/tasks/phoenix_haml.gen.html.ex:98: Mix.Tasks.PhoenixHaml.Gen.Html.validate_args!/1 error: undefined variable "raise_with_help" lib/mix/tasks/phoenix_haml.gen.html.ex:107: Mix.Tasks.PhoenixHaml.Gen.Html.validate_args!/1 warning: function raise_with_help/0 is unused lib/mix/tasks/phoenix_haml.gen.html.ex:110: Mix.Tasks.PhoenixHaml.Gen.Html (module) == Compilation error in file lib/mix/tasks/phoenix_haml.gen.html.ex == ** (CompileError) lib/mix/tasks/phoenix_haml.gen.html.ex: cannot compile module Mix.Tasks.PhoenixHaml.Gen.Html (errors have been logged)`
I changed line 98 and 107 from raise_with_help to raise_with_help() to get it working again.
raise_with_help
raise_with_help()
I very much hope that phoenix_haml will be further supported in the future, as I have written lot's of code in haml :-)
During compiling of an already existing project (during phoenix migration from 1.6 to 1.7) I got the following error:
I changed line 98 and 107 from
raise_with_help
toraise_with_help()
to get it working again.I very much hope that phoenix_haml will be further supported in the future, as I have written lot's of code in haml :-)