[code] hotfix

main
Dragan Filipovic 2020-04-11 17:42:37 +02:00
parent 0711330570
commit ac4f0895a6
1 changed files with 1 additions and 1 deletions

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(