File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ async function writePaths(paths, options) {
4242    const  filePath  =  path . join ( pathsDir ,  `${ sanitizedPath } ${ ext }  ) ; 
4343
4444    // Update any component references to the proper file location in paths 
45-     const  updatedPath  =  convertComponentsToRef ( paths [ pathKey ] ,  ext ,  pathsDir ) ; 
45+     const  updatedPath  =  convertComponentsToRef ( paths [ pathKey ] ,  ext ,  outputDir ) ; 
4646
4747    // Write each path to its own file 
4848    await  writeFile ( filePath ,  updatedPath ,  options ) ; 
@@ -61,7 +61,7 @@ async function writeComponents(components, options) {
6161      const  filePath  =  path . join ( fileDir ,  `${ componentName } ${ ext }  ) ; 
6262
6363      // Update any component references within components 
64-       const  updatedComponent  =  convertComponentsToRef ( components [ componentType ] [ componentName ] ,  ext ,  fileDir ) ; 
64+       const  updatedComponent  =  convertComponentsToRef ( components [ componentType ] [ componentName ] ,  ext ,  componentsDir ) ; 
6565
6666      // Write each component (schema, parameter, etc.) to its own YAML file 
6767      await  writeFile ( filePath ,  updatedComponent ,  options ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments