forked from mirrors/probot
Find private key if it is not set
Commander only calls the function if an argument is provided.
This commit is contained in:
parent
7795137f65
commit
3cdc44e462
|
@ -21,6 +21,10 @@ if (!program.integration) {
|
|||
program.help();
|
||||
}
|
||||
|
||||
if (!program.privateKey) {
|
||||
program.privateKey = findPrivateKey();
|
||||
}
|
||||
|
||||
if (program.tunnel) {
|
||||
try {
|
||||
setupTunnel();
|
||||
|
|
Loading…
Reference in New Issue