Skip to content

Commit 019ccec

Browse files
committed
wip: troubleshoot windows issue
1 parent 0fb9b23 commit 019ccec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/features/antora/antoraDocument.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ const MAX_DEPTH_SEARCH_ANTORA_CONFIG = 100
2020
export async function findAntoraConfigFile(
2121
textDocumentUri: Uri,
2222
): Promise<Uri | undefined> {
23+
console.log('findAntoraConfigFile(textDocumentUri)', textDocumentUri)
2324
const asciidocFilePath = posixpath.normalize(textDocumentUri.path)
25+
console.log('asciidocFilePath', asciidocFilePath)
2426
const cancellationToken = new CancellationTokenSource()
2527
cancellationToken.token.onCancellationRequested((e) => {
2628
console.log('Cancellation requested, cause: ' + e)
@@ -35,6 +37,8 @@ export async function findAntoraConfigFile(
3537
const modulesDirPath = posixpath.normalize(
3638
`${antoraConfigParentDirPath}/modules`,
3739
)
40+
console.log('modulesDirPath', modulesDirPath)
41+
console.log('antoraConfigParentDirPath', antoraConfigParentDirPath)
3842
if (
3943
asciidocFilePath.startsWith(modulesDirPath) &&
4044
asciidocFilePath.slice(modulesDirPath.length).match(/^\/[^/]+\/pages\/.*/)

0 commit comments

Comments
 (0)