Skip to content

Commit

Permalink
Lets track modules we get asked about
Browse files Browse the repository at this point in the history
  • Loading branch information
oxinabox committed Mar 20, 2019
1 parent 4c5e5fa commit 6487da0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/locate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ if no matching path is found then an empty list is returned
function source_paths(mod, file)
mdata = pkgfiles(mod)
if mdata === nothing
Revise.revise() # lets see if Revise was pending
Revise.track(mod) # maybe it is untracked (e.g. stdlib)
Revise.revise() # Or maybe a Revise was pending
mdata = pkgfiles(mod)
if mdata === nothing
error(
Expand Down

0 comments on commit 6487da0

Please sign in to comment.