mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 01:47:13 +00:00 
			
		
		
		
	fix: makes the typegen logs use cwd instead of __dirname
This commit is contained in:
		
							parent
							
								
									b5de06e35d
								
							
						
					
					
						commit
						c71da2e421
					
				| @ -100,7 +100,7 @@ const generate = async (config = {}) => { | |||||||
| 
 | 
 | ||||||
|     try { |     try { | ||||||
|       const outPath = await saveDefinitionToFileSystem(registryPwd, filename, report.output); |       const outPath = await saveDefinitionToFileSystem(registryPwd, filename, report.output); | ||||||
|       const relativeOutPath = path.relative(__dirname, outPath); |       const relativeOutPath = path.relative(process.cwd(), outPath); | ||||||
| 
 | 
 | ||||||
|       artifactFsTimer.end(); |       artifactFsTimer.end(); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Convly
						Convly