Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 854d213

Browse files
adding @qctions/exec
1 parent f9d46ab commit 854d213

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/async-function.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as core from '@actions/core'
22
import * as exec from '@actions/exec'
3-
import { Context } from '@actions/github/lib/context'
4-
import { GitHub } from '@actions/github/lib/utils'
3+
import {Context} from '@actions/github/lib/context'
4+
import {GitHub} from '@actions/github/lib/utils'
55
import * as glob from '@actions/glob'
66
import * as io from '@actions/io'
77

src/main.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import * as core from '@actions/core'
22
import * as exec from '@actions/exec'
3-
import { context, getOctokit } from '@actions/github'
3+
import {context, getOctokit} from '@actions/github'
44
import * as glob from '@actions/glob'
55
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'
88

99
process.on('unhandledRejection', handleError)
1010
main().catch(handleError)
@@ -16,7 +16,7 @@ type Options = {
1616
}
1717

1818
async function main(): Promise<void> {
19-
const token = core.getInput('github-token', { required: true })
19+
const token = core.getInput('github-token', {required: true})
2020
const debug = core.getInput('debug')
2121
const userAgent = core.getInput('user-agent')
2222
const previews = core.getInput('previews')
@@ -27,7 +27,7 @@ async function main(): Promise<void> {
2727
if (previews != null) opts.previews = previews.split(',')
2828

2929
const github = getOctokit(token, opts)
30-
const script = core.getInput('script', { required: true })
30+
const script = core.getInput('script', {required: true})
3131

3232
// Using property/value shorthand on `require` (e.g. `{require}`) causes compilation errors.
3333
const result = await callAsyncFunction(

0 commit comments

Comments
 (0)