defmodule Farmbot.CeleryScript.AST.Node.InstallFarmware do
  @moduledoc false
  use Farmbot.CeleryScript.AST.Node
  allow_args [:url]

  def execute(%{url: url}, _, env) do
    env = mutate_env(env)
    case Farmbot.Farmware.Installer.install(url) do
      {:ok, _} -> {:ok, env}
      {:error, reason} -> {:error, reason, env}
    end
  end
end

defmodule Farmbot.CeleryScript.AST.Node.InstallFarmware do
  @moduledoc false
  use Farmbot.CeleryScript.AST.Node
  allow_args [:url]

  def execute(%{url: url}, _, env) do
    env = mutate_env(env)
    case Farmbot.Farmware.Installer.install(url) do
      :ok -> {:ok, env}
      {:error, reason} -> {:error, reason, env}
    end
  end
end

Fix bad case clause for farmware installation
Fix bad case clause for farmware installation

FarmBot/farmbot_os,FarmBot/farmbot_os,FarmBot/farmbot_os,FarmBot/farmbot_os