Skip to content

Commit 26db046

Browse files
authored
Fix parse_cache_header signature change (#767)
1 parent 94b41f4 commit 26db046

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/loading.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ function pkg_fileinfo(id::PkgId)
44
cachepath = origin.cachepath
55
cachepath === nothing && return nothing, nothing, nothing
66
provides, includes_requires, required_modules = try
7-
Base.parse_cache_header(cachepath; srcfiles_only=true)
7+
@static if VERSION v"1.11.0-DEV.683"
8+
Base.parse_cache_header(cachepath)
9+
else
10+
Base.parse_cache_header(cachepath, srcfiles_only = true)
11+
end
812
catch
913
return nothing, nothing, nothing
1014
end

0 commit comments

Comments
 (0)