Skip to content

Commit c7c5acf

Browse files
committed
fix basepath when package is not a direct dependency
1 parent 9832b78 commit c7c5acf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/StippleCodeMirror.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function highlight(x)
8383
end
8484

8585
# definition of local routes and deps
86-
basedir = dirname(dirname(Base.find_package("StippleCodeMirror")))
86+
basedir = dirname(@__DIR__)
8787

8888
deps_routes::Vector{Route} = [
8989
add_fileroute(assets_config, "codemirror.min.js"; basedir),

0 commit comments

Comments
 (0)