Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d910cb8 commit 71fcc90Copy full SHA for 71fcc90
main.js
@@ -16,8 +16,8 @@ async function main() {
16
if (previews != null) opts.previews = previews.split(',')
17
const client = new GitHub(token, opts)
18
const script = core.getInput('script', {required: true})
19
- const fn = new AsyncFunction('github', 'context', script)
20
- const result = await fn(client, context)
+ const fn = new AsyncFunction('require', 'github', 'context', script)
+ const result = await fn(require, client, context)
21
core.setOutput('result', JSON.stringify(result))
22
}
23
0 commit comments