File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,7 @@ type Options = {
23
23
request ?: RequestRequestOptions
24
24
}
25
25
26
- async function main ( ) : Promise < void > {
27
- const token = core . getInput ( 'github-token' , { required : true } )
28
- const debug = core . getBooleanInput ( 'debug' )
29
- const userAgent = core . getInput ( 'user-agent' )
30
- const previews = core . getInput ( 'previews' )
31
- const baseUrl = core . getInput ( 'base-url' )
32
- const retries = parseInt ( core . getInput ( 'retries' ) )
33
- const exemptStatusCodes = parseNumberArray (
34
- core . getInput ( 'retry-exempt-status-codes' )
35
- )
36
- const [ retryOpts , requestOpts ] = getRetryOptions (
37
- retries ,
38
- exemptStatusCodes ,
39
- defaultGitHubOptions
26
+
40
27
)
41
28
42
29
const opts : Options = {
@@ -73,7 +60,7 @@ async function main(): Promise<void> {
73
60
)
74
61
75
62
let encoding = core . getInput ( 'result-encoding' )
76
- encoding = encoding ? encoding : 'json'
63
+ aaaa encoding = encoding ? encoding : 'json'
77
64
78
65
let output
79
66
You can’t perform that action at this time.
0 commit comments