Skip to content

Commit 248aefa

Browse files
fix: apply code build script
1 parent bd43e6a commit 248aefa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dist/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16944,7 +16944,7 @@ async function authenticate(url, user, pass, httpProxy) {
1694416944
'Content-Type': 'application/json',
1694516945
},
1694616946
proxy: false,
16947-
httpsAgent: new HttpsProxyAgent(httpProxy),
16947+
httpsAgent: httpProxy ? new HttpsProxyAgent(httpProxy) : undefined,
1694816948
data: {
1694916949
username: user,
1695016950
password: pass,
@@ -16977,7 +16977,7 @@ async function getVersion(url, token, httpProxy) {
1697716977
'Authorization': `Bearer ${token}`,
1697816978
},
1697916979
proxy: false,
16980-
httpsAgent: new HttpsProxyAgent(httpProxy)
16980+
httpsAgent: httpProxy ? new HttpsProxyAgent(httpProxy) : undefined
1698116981
});
1698216982
return res.data;
1698316983
} catch (err) {
@@ -17288,6 +17288,7 @@ async function scan() {
1728817288
if (require.main === require.cache[eval('__filename')]) {
1728917289
scan().catch((err) => core.setFailed(err.message));
1729017290
}
17291+
1729117292
})();
1729217293

1729317294
module.exports = __webpack_exports__;

0 commit comments

Comments
 (0)