Skip to content

Commit

Permalink
Use pkgdir instead of pathof (#1867)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikhuijzer authored Jan 30, 2022
1 parent 67f494c commit 7c16080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pluto.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Have a look at the FAQ:
https://github.com/fonsp/Pluto.jl/wiki
"""
module Pluto
project_relative_path(xs...) = normpath(joinpath(dirname(dirname(pathof(Pluto))), xs...))
project_relative_path(xs...) = normpath(joinpath(pkgdir(Pluto), xs...))

import Pkg

Expand Down

0 comments on commit 7c16080

Please sign in to comment.