From 9406a51fa53611f10e0b7d1c6860b904066737c1 Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Sun, 28 Feb 2021 16:07:26 +0000 Subject: [PATCH] Remove stdio: 'inherit' --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index deb3498..2425967 100644 --- a/dist/index.js +++ b/dist/index.js @@ -198,7 +198,7 @@ try { var sshAdd; try { - let sshAdd = child_process.execSync(`ssh-add ${keyFile}`, { stdio: 'inherit', env: { 'SSH_ASKPASS': `${homeSsh}/askpass` } }); + let sshAdd = child_process.execSync(`ssh-add ${keyFile}`, { env: { 'SSH_ASKPASS': `${homeSsh}/askpass` } }); } catch (exception) { console.log(sshAdd); console.log(exception); diff --git a/index.js b/index.js index 8bbe2e8..4fae763 100644 --- a/index.js +++ b/index.js @@ -81,7 +81,7 @@ try { var sshAdd; try { - let sshAdd = child_process.execSync(`ssh-add ${keyFile}`, { stdio: 'inherit', env: { 'SSH_ASKPASS': `${homeSsh}/askpass` } }); + let sshAdd = child_process.execSync(`ssh-add ${keyFile}`, { env: { 'SSH_ASKPASS': `${homeSsh}/askpass` } }); } catch (exception) { console.log(sshAdd); console.log(exception);