|
Lines 196-205
Link Here
|
| 196 |
if (failedOperation !== "undefined") { |
196 |
if (failedOperation !== "undefined") { |
| 197 |
that._progressService.removeOperation(failedOperation); |
197 |
that._progressService.removeOperation(failedOperation); |
| 198 |
} |
198 |
} |
| 199 |
that.options.func({ gitSshUsername : that.$gitSshUsername.value, |
199 |
that.options.func({ |
| 200 |
gitSshPassword : that.$gitSshPassword.value, |
200 |
gitSshUsername : that.$gitSshUsername.value, |
| 201 |
gitPrivateKey : pKey, |
201 |
gitSshPassword : that.$gitSshPassword.value, |
| 202 |
gitPassphrase : that.$gitPassphrase.value, |
202 |
gitPrivateKey : pKey, |
|
|
203 |
gitPassphrase : that.$gitPassphrase.value, |
| 203 |
knownHosts : that.$gitSshKnownHosts.value |
204 |
knownHosts : that.$gitSshKnownHosts.value |
| 204 |
}); |
205 |
}); |
| 205 |
} |
206 |
} |
|
Lines 216-223
Link Here
|
| 216 |
var gitPreferenceStorage = new GitPreferenceStorage(that.options.serviceRegistry); |
217 |
var gitPreferenceStorage = new GitPreferenceStorage(that.options.serviceRegistry); |
| 217 |
if (that.$gitSaveCredentials.checked) { |
218 |
if (that.$gitSaveCredentials.checked) { |
| 218 |
|
219 |
|
| 219 |
gitPreferenceStorage.put(repository, { gitPrivateKey : loadedPrivateKey, |
220 |
gitPreferenceStorage.put(repository, { |
| 220 |
gitPassphrase : that.$gitPassphrase.value |
221 |
gitSshUsername : that.$gitSshUsername.value, |
|
|
222 |
gitPrivateKey : loadedPrivateKey, |
| 223 |
gitPassphrase : that.$gitPassphrase.value |
| 221 |
}).then(function() { |
224 |
}).then(function() { |
| 222 |
process(loadedPrivateKey); |
225 |
process(loadedPrivateKey); |
| 223 |
}); |
226 |
}); |