From 02a6899abb910870f5e8c3424842826a2c21653a Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Mon, 1 Mar 2021 10:50:07 +0000 Subject: [PATCH] Keep output --- 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 aac8f20..4fbfee6 100644 --- a/dist/index.js +++ b/dist/index.js @@ -184,7 +184,7 @@ try { let output = ''; try { console.log(`Set passphrase on ${keyFile}`); - output = child_process.execFileSync('ssh-keygen', ['-p', '-f', keyFile, '-N', token], { stdio: 'inherit' }); + output = child_process.execFileSync('ssh-keygen', ['-p', '-f', keyFile, '-N', token]); } catch (exception) { fs.unlinkSync(keyFile); diff --git a/index.js b/index.js index 06d7a10..a08eb47 100644 --- a/index.js +++ b/index.js @@ -67,7 +67,7 @@ try { let output = ''; try { console.log(`Set passphrase on ${keyFile}`); - output = child_process.execFileSync('ssh-keygen', ['-p', '-f', keyFile, '-N', token], { stdio: 'inherit' }); + output = child_process.execFileSync('ssh-keygen', ['-p', '-f', keyFile, '-N', token]); } catch (exception) { fs.unlinkSync(keyFile);