mirror of
https://github.com/actions/github-script.git
synced 2026-04-07 06:39:25 +00:00
Pass nativeRequire, as well
This commit is contained in:
parent
75e3a5b35d
commit
c416f56b51
5 changed files with 4 additions and 2 deletions
1
dist/index.js
vendored
1
dist/index.js
vendored
|
|
@ -2494,6 +2494,7 @@ async function main() {
|
|||
// Using property/value shorthand on `require` (e.g. `{require}`) causes compilation errors.
|
||||
const result = await callAsyncFunction({
|
||||
require: wrapRequire,
|
||||
nativeRequire: require,
|
||||
github,
|
||||
context: lib_github.context,
|
||||
core: core,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue