1
1
import * as core from '@actions/core'
2
2
import * as exec from '@actions/exec'
3
- import { context , getOctokit } from '@actions/github'
3
+ import { context , getOctokit } from '@actions/github'
4
4
import * as glob from '@actions/glob'
5
5
import * as io from '@actions/io'
6
- import { callAsyncFunction } from './async-function'
7
- import { wrapRequire } from './wrap-require'
6
+ import { callAsyncFunction } from './async-function'
7
+ import { wrapRequire } from './wrap-require'
8
8
9
9
process . on ( 'unhandledRejection' , handleError )
10
10
main ( ) . catch ( handleError )
@@ -16,7 +16,7 @@ type Options = {
16
16
}
17
17
18
18
async function main ( ) : Promise < void > {
19
- const token = core . getInput ( 'github-token' , { required : true } )
19
+ const token = core . getInput ( 'github-token' , { required : true } )
20
20
const debug = core . getInput ( 'debug' )
21
21
const userAgent = core . getInput ( 'user-agent' )
22
22
const previews = core . getInput ( 'previews' )
@@ -27,7 +27,7 @@ async function main(): Promise<void> {
27
27
if ( previews != null ) opts . previews = previews . split ( ',' )
28
28
29
29
const github = getOctokit ( token , opts )
30
- const script = core . getInput ( 'script' , { required : true } )
30
+ const script = core . getInput ( 'script' , { required : true } )
31
31
32
32
// Using property/value shorthand on `require` (e.g. `{require}`) causes compilation errors.
33
33
const result = await callAsyncFunction (
0 commit comments