[code] hotfix

This commit is contained in:
Dragan Filipovic 2020-04-11 17:42:37 +02:00
parent 0711330570
commit ac4f0895a6

View File

@ -2,7 +2,7 @@ const { sync: commandExists } = require('command-exists');
const { get: nodeCmd } = require('node-cmd'); const { get: nodeCmd } = require('node-cmd');
const validateRsync = (callback = () => {}) => { const validateRsync = (callback = () => {}) => {
const rsyncCli = commandExists.sync('rsync'); const rsyncCli = commandExists('rsync');
if (!rsyncCli) { if (!rsyncCli) {
nodeCmd( nodeCmd(