[code] hotfix
parent
0711330570
commit
ac4f0895a6
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue