mirror of
				https://github.com/easingthemes/ssh-deploy.git
				synced 2025-10-30 23:30:09 +08:00 
			
		
		
		
	Set ssh to false
This commit is contained in:
		
							parent
							
								
									c28aa7215e
								
							
						
					
					
						commit
						3f84fa4ae1
					
				| @ -14,7 +14,7 @@ const sshDeploy = (() => { | |||||||
| 
 | 
 | ||||||
|         try { |         try { | ||||||
|             // RSYNC COMMAND
 |             // RSYNC COMMAND
 | ||||||
|             nodeRsync({ src, dest, args, privateKey, ssh: true, port, sshCmdArgs: ['-o StrictHostKeyChecking=no'], recursive: true }, (error, stdout, stderr, cmd) => { |             nodeRsync({ src, dest, args, privateKey, ssh: false, port, sshCmdArgs: ['-o StrictHostKeyChecking=no'], recursive: true }, (error, stdout, stderr, cmd) => { | ||||||
|                 if (error) { |                 if (error) { | ||||||
|                     console.error('⚠️ Rsync error', error.message); |                     console.error('⚠️ Rsync error', error.message); | ||||||
|                     process.abort(); |                     process.abort(); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Mardari Igor
						Mardari Igor