File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -638,8 +638,6 @@ function restore_default_sysimage()
638638 return nothing
639639end
640640
641- const REQUIRES = " Requires" => UUID (" ae029012-a4dd-5104-9daa-d747884805df" )
642-
643641function 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"""
661659audit_app (app_dir:: String ) = audit_app (create_pkg_context (app_dir))
662660function 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"
You can’t perform that action at this time.
0 commit comments