mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 08:06:23 +00:00
Rename nativeRequire to __original_require__
This commit is contained in:
@@ -13,7 +13,7 @@ type AsyncFunctionArguments = {
|
||||
glob: typeof glob
|
||||
io: typeof io
|
||||
require: NodeRequire
|
||||
nativeRequire: NodeRequire
|
||||
__original_require__: NodeRequire
|
||||
}
|
||||
|
||||
export function callAsyncFunction<T>(
|
||||
|
||||
@@ -32,7 +32,7 @@ async function main(): Promise<void> {
|
||||
const result = await callAsyncFunction(
|
||||
{
|
||||
require: wrapRequire,
|
||||
nativeRequire: __non_webpack_require__,
|
||||
__original_require__: __non_webpack_require__,
|
||||
github,
|
||||
context,
|
||||
core,
|
||||
|
||||
Reference in New Issue
Block a user