host rsync
This commit is contained in:
1 parent
3e2f0214fc
commit
b65c6688d1
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -4,8 +4,8 @@ const { exec, execSync } = require("child_process");
|
||||
const validateRsync = (callback = () => {}) => {
|
||||
const rsyncCli = commandExists("rsync");
|
||||
if (rsyncCli) {
|
||||
console.log('⚠️ [CLI] Rsync exists');
|
||||
const rsyncVersion = execSync("rsync --version", { stdio: 'inherit' });
|
||||
console.log('⚠️ [CLI] Rsync exists', rsyncVersion);
|
||||
return callback();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user