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
  • Loading branch information
affans authored and StefanKarpinski committed Aug 14, 2018
1 parent 3fe2d08 commit 3d8091f
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 3d8091f

Please sign in to comment.