File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ const httpsProxyAgent = require('https-proxy-agent');
6
6
7
7
function configWithProxy ( config ) {
8
8
var c = config || { } ;
9
- if ( process . env . HTTPS_PROXY ) {
10
- core . debug ( `use proxy: ${ process . env . HTTPS_PROXY } ` ) ;
9
+ if ( process . env . OPENAI_PROXY ) {
10
+ core . debug ( `use proxy: ${ process . env . OPENAI_PROXY } ` ) ;
11
11
c . proxy = false ;
12
- c . httpsAgent = new httpsProxyAgent ( process . env . HTTPS_PROXY ) ;
12
+ c . httpsAgent = new httpsProxyAgent ( process . env . OPENAI_PROXY ) ;
13
13
return c ;
14
14
}
15
15
return c ;
@@ -59,6 +59,7 @@ async function run() {
59
59
}
60
60
} ) ;
61
61
const code = response . data ;
62
+ core . debug ( `diff code: ${ code } ` ) ;
62
63
const files = parsePullRequestDiff ( code ) ;
63
64
core . debug ( `diff files: ${ files } ` ) ;
64
65
You can’t perform that action at this time.
0 commit comments