- adjust agent to be undefined instead of an empty object

This commit is contained in:
Mike Penz
2022-08-10 12:20:56 +00:00
committed by GitHub
parent 97db2b0c39
commit e38965eec7
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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)