Skip to content

Commit d9d3ee8

Browse files
committed
remove warn when detecting dependency on Requires.jl
1 parent 586a9e8 commit d9d3ee8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/PackageCompiler.jl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -638,8 +638,6 @@ function restore_default_sysimage()
638638
return nothing
639639
end
640640

641-
const REQUIRES = "Requires" => UUID("ae029012-a4dd-5104-9daa-d747884805df")
642-
643641
function create_pkg_context(project)
644642
project_toml_path = Pkg.Types.projectfile_path(project; strict=true)
645643
if project_toml_path === nothing
@@ -660,16 +658,6 @@ the project at `app_dir`.
660658
"""
661659
audit_app(app_dir::String) = audit_app(create_pkg_context(app_dir))
662660
function audit_app(ctx::Pkg.Types.Context)
663-
# Check for Requires.jl usage
664-
if REQUIRES in ctx.env.project.deps
665-
@warn "Project has a dependency on Requires.jl, code in `@require` will not be run"
666-
end
667-
for (uuid, pkg) in ctx.env.manifest
668-
if REQUIRES in pkg.deps
669-
@warn "$(pkg.name) has a dependency on Requires.jl, code in `@require` will not be run"
670-
end
671-
end
672-
673661
# Check for build script usage
674662
if isfile(joinpath(dirname(ctx.env.project_file), "deps", "build.jl"))
675663
@warn "Project has a build script, this might indicate that it is not relocatable"

0 commit comments

Comments
 (0)