- adjust agent to be undefined instead of an empty object
This commit is contained in:
@@ -43,7 +43,7 @@ export class ReleaseNotesBuilder {
|
||||
core.endGroup()
|
||||
|
||||
// check proxy setup for GHES environments
|
||||
let agent = {}
|
||||
let agent = undefined
|
||||
const proxy = process.env.https_proxy || process.env.HTTPS_PROXY
|
||||
if (proxy) {
|
||||
agent = new HttpsProxyAgent(proxy)
|
||||
|
||||
Reference in New Issue
Block a user