Skip to content

Commit

Permalink
resolves #629 use the fsPath otherwise Node require doesn't work on W…
Browse files Browse the repository at this point in the history
…indows (#630)
  • Loading branch information
ggrossetie authored Sep 5, 2022
1 parent e30084b commit 3025b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asciidocParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export class AsciidocParser {
}
const extfiles = await this.getExtensionFilesInWorkspace()
for (const extfile of extfiles) {
const extPath = extfile.path
const extPath = extfile.fsPath
try {
delete require.cache[extPath]
const extjs = require(extPath)
Expand Down

0 comments on commit 3025b89

Please sign in to comment.