Address comments
This commit is contained in:
parent
6186179441
commit
4733419117
8 changed files with 20 additions and 8 deletions
3
lib/start-proxy-action.js
generated
3
lib/start-proxy-action.js
generated
|
|
@ -39,7 +39,7 @@ const CERT_SUBJECT = [
|
|||
},
|
||||
{
|
||||
name: "organizationName",
|
||||
value: "GitHub ic.",
|
||||
value: "GitHub inc.",
|
||||
},
|
||||
{
|
||||
shortName: "OU",
|
||||
|
|
@ -116,6 +116,7 @@ async function runWrapper() {
|
|||
});
|
||||
subprocess.on("exit", (code) => {
|
||||
if (code !== 0) {
|
||||
// If the proxy failed to start, try a different port from the ephemeral range [49152, 65535]
|
||||
port = Math.floor(Math.random() * (65535 - 49152) + 49152);
|
||||
subprocess = undefined;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue