Skip to content

Commit e8c9d44

Browse files
nalimilantkelman
authored andcommitted
Add missing deprecation error for Pkg.submit()
Apparently missed during the migration.
1 parent 94e9ae8 commit e8c9d44

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

base/pkg.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,4 +399,8 @@ license(lic=nothing) =
399399
error("Pkg.license([lic]) has been moved to the package PkgDev.jl.\n",
400400
"Run Pkg.add(\"PkgDev\") to install PkgDev on Julia v0.5-")
401401

402+
submit(pkg, commit=nothing) =
403+
error("Pkg.submit(pkg[, commit]) has been moved to the package PkgDev.jl.\n",
404+
"Run Pkg.add(\"PkgDev\") to install PkgDev on Julia v0.5-")
405+
402406
end # module

0 commit comments

Comments
 (0)