Skip to content

Commit

Permalink
Use SSH_ASKPASS, so user can override with core.askPass
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerun committed Nov 7, 2016
1 parent 618455d commit be95ea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/core/resolvers/GitResolver.js
Expand Up @@ -31,8 +31,8 @@ function GitResolver(decEndpoint, config, logger) {
if (!config.interactive) {
process.env.GIT_TERMINAL_PROMPT = '0';

if (!process.env.GIT_ASKPASS) {
process.env.GIT_ASKPASS = which.sync('bower');
if (!process.env.SSH_ASKPASS) {
process.env.SSH_ASKPASS = which.sync('bower');
}
}

Expand Down

0 comments on commit be95ea8

Please sign in to comment.