Skip to content

Commit

Permalink
Fix up typo in filter_valid_cachefiles (#462)
Browse files Browse the repository at this point in the history
This line threw an UndefVarError when I hit it, so I'm guessing this is just a simple typo fix.
  • Loading branch information
angusmoore authored Apr 23, 2020
1 parent 06c159b commit 9aea43f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkgs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9aea43f

Please sign in to comment.