mirror of
				https://github.com/easingthemes/ssh-deploy.git
				synced 2025-10-30 23:30:09 +08:00 
			
		
		
		
	rsyncVersion
This commit is contained in:
		
							parent
							
								
									5403dab9a0
								
							
						
					
					
						commit
						70415f9f9d
					
				| @ -4,7 +4,8 @@ const { exec, execSync } = require("child_process"); | |||||||
| const validateRsync = (callback = () => {}) => { | const validateRsync = (callback = () => {}) => { | ||||||
|   const rsyncCli = commandExists("rsync"); |   const rsyncCli = commandExists("rsync"); | ||||||
|   if (rsyncCli) { |   if (rsyncCli) { | ||||||
|     console.log('⚠️ [CLI] Rsync exists', execSync("rsync --version")); |     const rsyncVersion = execSync("rsync --version"); | ||||||
|  |     console.log('⚠️ [CLI] Rsync exists', rsyncVersion); | ||||||
|     return callback(); |     return callback(); | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Dragan Filipovic
						Dragan Filipovic