mirror of
https://github.com/actions/github-script.git
synced 2026-04-07 14:49:25 +00:00
Add core to the script context
This commit is contained in:
parent
80a5e943b4
commit
8982156783
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ async function main() {
|
|||
|
||||
// Using property/value shorthand on `require` (e.g. `{require}`) causes compilatin errors.
|
||||
const result = await callAsyncFunction(
|
||||
{require: require, github, context},
|
||||
{require: require, github, context, core},
|
||||
script
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue