From 3d8091fb1ed9482a5a44e79f5d589197ce61929c Mon Sep 17 00:00:00 2001 From: Affan Date: Tue, 14 Aug 2018 13:21:05 -0400 Subject: [PATCH] fixes issue 28553, improves error message for missing packages (#28555) --- base/loading.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/loading.jl b/base/loading.jl index 7feb1cdd26d85..f55f75498d90e 100644 --- a/base/loading.jl +++ b/base/loading.jl @@ -816,7 +816,7 @@ function require(into::Module, mod::Symbol) if where.uuid === nothing throw(ArgumentError(""" Package $mod not found in current path: - - Run `Pkg.add($(repr(String(mod))))` to install the $mod package. + - Run `import Pkg; Pkg.add($(repr(String(mod))))` to install the $mod package. """)) else s = """