File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1378,9 +1378,9 @@ Returns whether a given PkgId within the active project is precompiled.
13781378function isprecompiled (pkg:: PkgId ;
13791379 stale_cache:: Dict{StaleCacheKey,Bool} = Dict {StaleCacheKey, Bool} (),
13801380 cachepaths:: Vector{String} = Base. find_all_in_cache_path (pkg),
1381- sourcepath:: String = Base. locate_package (pkg)
1381+ sourcepath:: Union{ String,Nothing} = Base. locate_package (pkg)
13821382 )
1383- isnothing (sourcepath) && error (" Cannot locate source for $(repr (PkgId )) " )
1383+ isnothing (sourcepath) && error (" Cannot locate source for $(repr (pkg )) " )
13841384 for path_to_try in cachepaths
13851385 staledeps = stale_cachefile (sourcepath, path_to_try, ignore_loaded = true )
13861386 if staledeps === true
You can’t perform that action at this time.
0 commit comments