We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mix format
{.ex,.exs}
I got an exception when I'm trying to commit changes in a .vue file:
.vue
mix format failed for file: assets/js/components/stats/CollaboratorsListTable.vue ** (SyntaxError) assets/js/components/stats/CollaboratorsListTable.vue:63:24: keyword argument must be followed by space after: bind: (elixir 1.12.3) lib/code.ex:978: Code.format_string!/2 (mix 1.12.3) lib/mix/tasks/format.ex:418: Mix.Tasks.Format.format_file/2 (elixir 1.12.3) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2 (elixir 1.12.3) lib/task/supervised.ex:35: Task.Supervised.reply/5 (stdlib 3.17) proc_lib.erl:226: :proc_lib.init_p_do_apply/3 ** (MatchError) no match of right hand side value: {"", 1} (auto_formatter 0.1.1) lib/auto_formatter/action.ex:35: AutoFormatter.Action.perform/1 (auto_formatter 0.1.1) lib/auto_formatter/cli.ex:9: AutoFormatter.CLI.main/1 (elixir 1.12.3) lib/kernel/cli.ex:124: anonymous fn/3 in Kernel.CLI.exec_fun/2
This error occurs because I have this line in the .vue file:
<a v-bind:href="column.link">Details</a>
To solve it, we need to only call mix format only with .ex and .exs files
.ex
.exs
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I got an exception when I'm trying to commit changes in a
.vue
file:This error occurs because I have this line in the
.vue
file:To solve it, we need to only call
mix format
only with.ex
and.exs
filesThe text was updated successfully, but these errors were encountered: