assets_task.ex (306B)
1 defmodule Mix.Absinthe.Plug.GraphiQL.AssetsTask do 2 def run(_args) do 3 if Mix.Project.umbrella?(), 4 do: 5 Mix.raise( 6 "mix absinthe.plug.graphiql.assets.download can only be run inside an application directory" 7 ) 8 9 Absinthe.Plug.GraphiQL.Assets.assets_config() 10 end 11 end