{stdio: 'inherit'}
This commit is contained in:
		
							parent
							
								
									70415f9f9d
								
							
						
					
					
						commit
						4b6681d89c
					
				@ -4,7 +4,7 @@ const { exec, execSync } = require("child_process");
 | 
				
			|||||||
const validateRsync = (callback = () => {}) => {
 | 
					const validateRsync = (callback = () => {}) => {
 | 
				
			||||||
  const rsyncCli = commandExists("rsync");
 | 
					  const rsyncCli = commandExists("rsync");
 | 
				
			||||||
  if (rsyncCli) {
 | 
					  if (rsyncCli) {
 | 
				
			||||||
    const rsyncVersion = execSync("rsync --version");
 | 
					    const rsyncVersion = execSync("rsync --version", { stdio: 'inherit' });
 | 
				
			||||||
    console.log('⚠️ [CLI] Rsync exists', rsyncVersion);
 | 
					    console.log('⚠️ [CLI] Rsync exists', rsyncVersion);
 | 
				
			||||||
    return callback();
 | 
					    return callback();
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user