Skip to content

Commit

Permalink
fix: Runtime error 'path.absolute is not a function' for 'linking: ab…
Browse files Browse the repository at this point in the history
…solute' and 'baseUrl: ""'.
  • Loading branch information
about-code committed Sep 29, 2019
1 parent f048f3b commit 538c65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/linker.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function getTermUrl(context, term, file) {
);
} else {
termUrl = toForwardSlash(
path.absolute(outDir, glossary.file) + term.anchor
path.resolve(outDir, glossary.file) + term.anchor
);
}
} else {
Expand Down

0 comments on commit 538c65d

Please sign in to comment.