Skip to content

Commit 53c8b27

Browse files
committed
Fix bootstrap issue in Code module
1 parent 3550dd1 commit 53c8b27

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/elixir/lib/code.ex

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,9 +1377,8 @@ defmodule Code do
13771377
# unless it is listed as an extra application.
13781378
case :code.lib_dir(:erts) do
13791379
path when is_list(path) ->
1380-
[path, "doc", "chunks", "#{module}.chunk"]
1381-
|> Path.join()
1382-
|> fetch_docs_from_chunk()
1380+
path = Path.join([path, "doc", "chunks", "#{module}.chunk"])
1381+
fetch_docs_from_chunk(path)
13831382

13841383
{:error, _} ->
13851384
{:error, :chunk_not_found}

0 commit comments

Comments
 (0)