diff --git a/lib/mix/lib/mix/tasks/compile.elixir.ex b/lib/mix/lib/mix/tasks/compile.elixir.ex index 11e261570a..b39f1e5a4c 100644 --- a/lib/mix/lib/mix/tasks/compile.elixir.ex +++ b/lib/mix/lib/mix/tasks/compile.elixir.ex @@ -73,9 +73,9 @@ defmodule Mix.Tasks.Compile.Elixir do * `--no-verification` - disables code verification, such as unused functions, deprecation warnings, and type checking. It must be used solely for debugging alongside `MIX_DEBUG=1` - * `--no-check-cwd` - Elixir stores absolute paths in .beam files, which means rellocating - the project root triggers a full build. Pass this option if you don't want the current - working directory to be checked + * `--no-check-cwd` - (since v1.19.2) Elixir stores absolute paths in .beam files, which means + that relocating the project root triggers a full build. Pass this option if you don't want + the current working directory to be checked * `--purge-consolidation-path-if-stale PATH` - deletes and purges modules in the given protocol consolidation path if compilation is required * `--profile` - if set to `time`, outputs timing information of compilation steps diff --git a/lib/mix/test/mix/tasks/compile.elixir_test.exs b/lib/mix/test/mix/tasks/compile.elixir_test.exs index 10fddb9f13..dbf658a046 100644 --- a/lib/mix/test/mix/tasks/compile.elixir_test.exs +++ b/lib/mix/test/mix/tasks/compile.elixir_test.exs @@ -118,7 +118,7 @@ defmodule Mix.Tasks.Compile.ElixirTest do end) end - test "does not recompiles project if cwd changes and --no-check-pwd is given" do + test "does not recompiles project if cwd changes and --no-check-cwd is given" do in_fixture("no_mixfile", fn -> Mix.Project.push(MixTest.Case.Sample) assert Mix.Tasks.Compile.Elixir.run(["--verbose"]) == {:ok, []}