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 and pankgeorg committed Feb 1, 2022
1 parent e6b5d28 commit a0a08b4
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 a0a08b4

Please sign in to comment.