mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2024-11-13 22:38:04 +00:00
[code] hotfix
This commit is contained in:
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
Block a user