Skip to content

Commit

Permalink
update Compat for rename of Pkg to OldPkg
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed May 14, 2018
1 parent 9ae1261 commit 01f178a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LibGit2 = "76f85450-5226-5b5a-8eaa-529ad045b433"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
Mmap = "a63ad114-7e13-5084-954f-fe012c677804"
Pkg = "fe1c5a76-5840-53d2-82f9-288dd83ce2ce"
OldPkg = "fe1c5a76-5840-53d2-82f9-288dd83ce2ce"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Expand Down
3 changes: 2 additions & 1 deletion src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1436,7 +1436,8 @@ end
@static if VERSION < v"0.7.0-DEV.3656"
const Pkg = Base.Pkg
else
import Pkg
import OldPkg
const Pkg = OldPkg
end

@static if VERSION < v"0.7.0-DEV.3630"
Expand Down

0 comments on commit 01f178a

Please sign in to comment.