rsyncVersion
This commit is contained in:
1 parent
5403dab9a0
commit
70415f9f9d
1 file changed
+2
-1
+2
-1
@@ -4,7 +4,8 @@ const { exec, execSync } = require("child_process");
|
||||
const validateRsync = (callback = () => {}) => {
|
||||
const rsyncCli = commandExists("rsync");
|
||||
if (rsyncCli) {
|
||||
console.log('⚠️ [CLI] Rsync exists', execSync("rsync --version"));
|
||||
const rsyncVersion = execSync("rsync --version");
|
||||
console.log('⚠️ [CLI] Rsync exists', rsyncVersion);
|
||||
return callback();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user