Skip to content

Commit

Permalink
fixes issue 28553, improves error message for missing packages (#28555)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3d8091f)
  • Loading branch information
affans authored and KristofferC committed Sep 8, 2018
1 parent 6ef9630 commit 2417246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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 = """
Expand Down

0 comments on commit 2417246

Please sign in to comment.