mirror of
				https://github.com/easingthemes/ssh-deploy.git
				synced 2025-10-30 23:30:09 +08:00 
			
		
		
		
	RSYNC use excludeFirst instead of exclude
This commit is contained in:
		
							parent
							
								
									a27b8667de
								
							
						
					
					
						commit
						07265c8c95
					
				
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @ -609,7 +609,7 @@ const sshDeploy = (() => { | |||||||
|     try { |     try { | ||||||
|       // RSYNC COMMAND
 |       // RSYNC COMMAND
 | ||||||
|       nodeRsync({ |       nodeRsync({ | ||||||
|         src, dest, args, privateKey, port, exclude, ...defaultOptions |         src, dest, args, privateKey, port, excludeFirst: exclude, ...defaultOptions | ||||||
|       }, (error, stdout, stderr, cmd) => { |       }, (error, stdout, stderr, cmd) => { | ||||||
|         if (error) { |         if (error) { | ||||||
|           console.error('⚠️ [Rsync] error: ', error.message); |           console.error('⚠️ [Rsync] error: ', error.message); | ||||||
|  | |||||||
| @ -27,7 +27,7 @@ const sshDeploy = (() => { | |||||||
|     try { |     try { | ||||||
|       // RSYNC COMMAND
 |       // RSYNC COMMAND
 | ||||||
|       nodeRsync({ |       nodeRsync({ | ||||||
|         src, dest, args, privateKey, port, exclude, ...defaultOptions |         src, dest, args, privateKey, port, excludeFirst: exclude, ...defaultOptions | ||||||
|       }, (error, stdout, stderr, cmd) => { |       }, (error, stdout, stderr, cmd) => { | ||||||
|         if (error) { |         if (error) { | ||||||
|           console.error('⚠️ [Rsync] error: ', error.message); |           console.error('⚠️ [Rsync] error: ', error.message); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Dragan Filipovic
						Dragan Filipovic