File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -233,9 +233,10 @@ defmodule Mix.Project do
233
233
@ spec apps_paths ( ) :: % { atom => Path . t } | nil
234
234
def apps_paths ( config \\ config ( ) ) do
235
235
if apps_path = config [ :apps_path ] do
236
- Mix.ProjectStack . read_cache ( :apps_path ) ||
237
- Mix.ProjectStack . write_cache ( :apps_path ,
238
- config [ :apps ] |> umbrella_apps ( apps_path ) |> to_apps_path ( apps_path ) )
236
+ key = { :apps_paths , Mix.Project . get! }
237
+ Mix.ProjectStack . read_cache ( key ) ||
238
+ Mix.ProjectStack . write_cache ( key ,
239
+ config [ :apps ] |> umbrella_apps ( apps_path ) |> to_apps_paths ( apps_path ) )
239
240
end
240
241
end
241
242
@@ -249,7 +250,7 @@ defmodule Mix.Project do
249
250
apps
250
251
end
251
252
252
- defp to_apps_path ( apps , apps_path ) do
253
+ defp to_apps_paths ( apps , apps_path ) do
253
254
for app <- apps ,
254
255
path = path_with_mix_exs_otherwise_warn ( app , apps_path ) ,
255
256
do: { app , path } ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ defmodule Mix.ProjectStack do
18
18
get_and_update fn % { stack: stack } = state ->
19
19
# Consider the first children to always have io_done
20
20
# because we don't need to print anything unless another
21
- # project talks ahold of the shell.
21
+ # project takes ahold of the shell.
22
22
io_done? = stack == [ ]
23
23
24
24
config = Keyword . merge ( config , state . post_config )
You can’t perform that action at this time.
0 commit comments