From 4b6681d89c833a2c3264b09b51232385e73ff851 Mon Sep 17 00:00:00 2001 From: Dragan Filipovic Date: Sat, 31 Dec 2022 10:04:57 +0100 Subject: [PATCH] {stdio: 'inherit'} --- src/rsyncCli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rsyncCli.js b/src/rsyncCli.js index e884959..d3cd2ae 100644 --- a/src/rsyncCli.js +++ b/src/rsyncCli.js @@ -4,7 +4,7 @@ const { exec, execSync } = require("child_process"); const validateRsync = (callback = () => {}) => { const rsyncCli = commandExists("rsync"); if (rsyncCli) { - const rsyncVersion = execSync("rsync --version"); + const rsyncVersion = execSync("rsync --version", { stdio: 'inherit' }); console.log('⚠️ [CLI] Rsync exists', rsyncVersion); return callback(); }