Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: undefined variable "raise_with_help" #53

Open
mihya opened this issue Jun 29, 2023 · 0 comments
Open

error: undefined variable "raise_with_help" #53

mihya opened this issue Jun 29, 2023 · 0 comments

Comments

@mihya
Copy link

mihya commented Jun 29, 2023

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.

I very much hope that phoenix_haml will be further supported in the future, as I have written lot's of code in haml :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant