mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-30 20:41:33 +08:00 
			
		
		
		
	build(copy-dist): exit on any caught error to make sure copy-dist fails during CI if any error occurs
if we don't exit, it will just log the issue - however we *want* it to fail it there is an error, so that it doesn't continue in the CI alternative would be to rethrow the error, but then we'd print the error into the logs twice :-) closes https://github.com/TriliumNext/Notes/issues/1413
This commit is contained in:
		
							parent
							
								
									b730ca0033
								
							
						
					
					
						commit
						d7aedfbd36
					
				| @ -105,4 +105,5 @@ try { | |||||||
| 
 | 
 | ||||||
| } catch(err) { | } catch(err) { | ||||||
|     console.error("Error during copy:", err) |     console.error("Error during copy:", err) | ||||||
|  |     process.exit(1) | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Panagiotis Papadopoulos
						Panagiotis Papadopoulos