Set ssh to false
This commit is contained in:
		
							parent
							
								
									c28aa7215e
								
							
						
					
					
						commit
						3f84fa4ae1
					
				@ -14,7 +14,7 @@ const sshDeploy = (() => {
 | 
			
		||||
 | 
			
		||||
        try {
 | 
			
		||||
            // 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) {
 | 
			
		||||
                    console.error('⚠️ Rsync error', error.message);
 | 
			
		||||
                    process.abort();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user