diff --git a/lib/mix/tasks/semantic_release.ex b/lib/mix/tasks/semantic_release.ex index 71bede6..cab29be 100644 --- a/lib/mix/tasks/semantic_release.ex +++ b/lib/mix/tasks/semantic_release.ex @@ -31,8 +31,7 @@ defmodule Mix.Tasks.SemanticRelease do def run(args) do Logger.debug("Running Semantic Release ...") - Mix.Task.run( - "nodelix", + Mix.Tasks.Nodelix.run( [ SemanticRelease.bin_path() ] ++ args diff --git a/lib/mix/tasks/semantic_release.install.ex b/lib/mix/tasks/semantic_release.install.ex index 9190df6..0090f54 100644 --- a/lib/mix/tasks/semantic_release.install.ex +++ b/lib/mix/tasks/semantic_release.install.ex @@ -23,8 +23,7 @@ defmodule Mix.Tasks.SemanticRelease.Install do def run(_) do Logger.debug("Installing dependencies ...") - Mix.Task.run( - "nodelix.npm", + Mix.Tasks.Nodelix.Npm.run( [ "install", "--silent", @@ -38,7 +37,7 @@ defmodule Mix.Tasks.SemanticRelease.Install do Logger.debug("Auditing signatures ...") - Mix.Task.run("nodelix.npm", [ + Mix.Tasks.Nodelix.Npm.run([ "audit", "signatures", "--silent", diff --git a/mix.exs b/mix.exs index 687b380..e055127 100644 --- a/mix.exs +++ b/mix.exs @@ -25,7 +25,7 @@ defmodule SemanticRelease.MixProject do defp deps do [ - {:nodelix, "1.0.0-alpha.8", only: [:dev, :test], runtime: false}, + {:nodelix, "1.0.0-alpha.8", runtime: false}, {:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false} ]