Skip to content

Commit

Permalink
Fix code when generating Makeup docs
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed May 11, 2024
1 parent ed0ffcd commit 4e24493
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/ex_doc/language/source.ex
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ defmodule ExDoc.Language.Source do
compile_info[:source]

true ->
# This should never happen...
raise "could not find source or debug info for #{inspect(module)}"
# This happens only when building docs for Makeup itself,
# as some of its modules may have been loaded from the escript.
filename
end

compile_source
Expand Down

0 comments on commit 4e24493

Please sign in to comment.