mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-07-08 06:57:30 +00:00
Initial commit
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
'use strict';
|
||||
const npmConf = require('npm-conf')();
|
||||
|
||||
module.exports = () => {
|
||||
return process.env.HTTPS_PROXY ||
|
||||
process.env.https_proxy ||
|
||||
process.env.HTTP_PROXY ||
|
||||
process.env.http_proxy ||
|
||||
npmConf.get('https-proxy') ||
|
||||
npmConf.get('http-proxy') ||
|
||||
npmConf.get('proxy') ||
|
||||
null;
|
||||
};
|
||||
Reference in New Issue
Block a user