From 7f57a5355a7b66fba349585f715284671cd6138c Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Wed, 22 Apr 2020 18:20:15 +0200 Subject: [PATCH] dont assume we can find source code for loaded packages (#460) --- src/pkgs.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pkgs.jl b/src/pkgs.jl index 17a2ec87..a187f480 100644 --- a/src/pkgs.jl +++ b/src/pkgs.jl @@ -81,6 +81,7 @@ end # that's easier to precompile. (This is a hotspot in loading Revise.) function filter_valid_cachefiles(sourcepath, paths) fpaths = String[] + sorcepath === nothing && return fpaths for path in paths if Base.stale_cachefile(sourcepath, path) !== true push!(fpaths, path)