diff --git a/src/rsyncCli.js b/src/rsyncCli.js index 781a2c4..1e8dc48 100644 --- a/src/rsyncCli.js +++ b/src/rsyncCli.js @@ -2,7 +2,7 @@ const { sync: commandExists } = require('command-exists'); const { get: nodeCmd } = require('node-cmd'); const validateRsync = (callback = () => {}) => { - const rsyncCli = commandExists.sync('rsync'); + const rsyncCli = commandExists('rsync'); if (!rsyncCli) { nodeCmd(