fix: compile application in ash.formatter task

This commit is contained in:
Zach Daniel 2020-06-15 03:02:33 -04:00
parent 103864ae6b
commit a97927fa2e
No known key found for this signature in database
GPG key ID: C377365383138D4B

View file

@ -19,6 +19,7 @@ defmodule Mix.Tasks.Ash.Formatter do
@shortdoc @moduledoc
def run(opts) do
Mix.Task.run("compile")
{opts, []} = OptionParser.parse!(opts, strict: [check: :boolean, extensions: :string])
unless opts[:extensions] do