Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 854d213

Browse filesBrowse files
adding @qctions/exec
1 parent f9d46ab commit 854d213
Copy full SHA for 854d213

File tree

Expand file treeCollapse file tree

2 files changed

+7
-7
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+7
-7
lines changed

‎src/async-function.ts

Copy file name to clipboardExpand all lines: src/async-function.ts
+2-2Lines 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

Copy file name to clipboardExpand all lines: src/main.ts
+5-5Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.