-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not try to load config and compile when mix task args include `--n…
…o-mix-exs` Fixes #1037
- Loading branch information
1 parent
10cba4b
commit 84b2b2d
Showing
3 changed files
with
142 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
defmodule Abc do | ||
def debug_me() do | ||
a = [1, 2, 3] | ||
b = Enum.map(a, &(&1 + 1)) | ||
b | ||
end | ||
end | ||
|
||
a = [1, 2, 3] | ||
b = Enum.map(a, &(&1 + 1)) | ||
IO.puts("done #{inspect(b)}, #{Abc.debug_me()}") | ||
|
||
Task.start(fn -> | ||
Process.sleep(1000) | ||
IO.puts("done from task #{inspect(b)}, #{Abc.debug_me()}") | ||
end) |