mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 16:16:21 +00:00
Add core to the script context
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user