mirror of
				https://github.com/JonasKruckenberg/tauri-build.git
				synced 2025-10-31 16:23:55 +00:00 
			
		
		
		
	fix: correctly change working dir to projectPath
This commit is contained in:
		
							parent
							
								
									2d849ab665
								
							
						
					
					
						commit
						8864b18928
					
				
							
								
								
									
										5
									
								
								.changes/fix-project-path.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.changes/fix-project-path.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | ||||
| --- | ||||
| "tauri-build": patch | ||||
| --- | ||||
| 
 | ||||
| Correctly change working dir to projectPath when configured. | ||||
| @ -13,7 +13,7 @@ interface BuildOptions { | ||||
| } | ||||
| 
 | ||||
| export async function buildProject(options: BuildOptions): Promise<string[]> { | ||||
|   const projectPath = options.configPath || process.cwd() | ||||
|   const projectPath = options.projectPath || process.cwd() | ||||
| 
 | ||||
|   let args: string[] = options.args || [] | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user