From ac4f0895a659169bd5f63eabcc01d5fb777498e8 Mon Sep 17 00:00:00 2001 From: Dragan Filipovic Date: Sat, 11 Apr 2020 17:42:37 +0200 Subject: [PATCH] [code] hotfix --- src/rsyncCli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(