From 9aea43f05c7a85951cc56dac187e006db3a3f89a Mon Sep 17 00:00:00 2001 From: Angus Moore <18376371+angusmoore@users.noreply.github.com> Date: Thu, 23 Apr 2020 15:22:20 +1000 Subject: [PATCH] Fix up typo in filter_valid_cachefiles (#462) This line threw an UndefVarError when I hit it, so I'm guessing this is just a simple typo fix. --- src/pkgs.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkgs.jl b/src/pkgs.jl index a187f480..157e3773 100644 --- a/src/pkgs.jl +++ b/src/pkgs.jl @@ -81,7 +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 + sourcepath === nothing && return fpaths for path in paths if Base.stale_cachefile(sourcepath, path) !== true push!(fpaths, path)