mirror of
https://github.com/webfactory/ssh-agent.git
synced 2024-11-23 17:48:00 +00:00
Remove stdio: 'inherit'
This commit is contained in:
parent
ef63fdb1df
commit
9406a51fa5
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -198,7 +198,7 @@ try {
|
||||||
var sshAdd;
|
var sshAdd;
|
||||||
|
|
||||||
try {
|
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) {
|
} catch (exception) {
|
||||||
console.log(sshAdd);
|
console.log(sshAdd);
|
||||||
console.log(exception);
|
console.log(exception);
|
||||||
|
|
2
index.js
2
index.js
|
@ -81,7 +81,7 @@ try {
|
||||||
var sshAdd;
|
var sshAdd;
|
||||||
|
|
||||||
try {
|
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) {
|
} catch (exception) {
|
||||||
console.log(sshAdd);
|
console.log(sshAdd);
|
||||||
console.log(exception);
|
console.log(exception);
|
||||||
|
|
Loading…
Reference in a new issue