File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ const MAX_DEPTH_SEARCH_ANTORA_CONFIG = 100
2020export  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 }  , 
3739    ) 
40+     console . log ( 'modulesDirPath' ,  modulesDirPath ) 
41+     console . log ( 'antoraConfigParentDirPath' ,  antoraConfigParentDirPath ) 
3842    if  ( 
3943      asciidocFilePath . startsWith ( modulesDirPath )  && 
4044      asciidocFilePath . slice ( modulesDirPath . length ) . match ( / ^ \/ [ ^ / ] + \/ p a g e s \/ .* / ) 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments