Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 83c92d6

Browse filesBrowse files
committed
Rename nativeRequire to __original_require__
1 parent c416f56 commit 83c92d6
Copy full SHA for 83c92d6

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎src/async-function.ts

Copy file name to clipboardExpand all lines: src/async-function.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type AsyncFunctionArguments = {
1313
glob: typeof glob
1414
io: typeof io
1515
require: NodeRequire
16-
nativeRequire: NodeRequire
16+
__original_require__: NodeRequire
1717
}
1818

1919
export function callAsyncFunction<T>(

‎src/main.ts

Copy file name to clipboardExpand all lines: src/main.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async function main(): Promise<void> {
3232
const result = await callAsyncFunction(
3333
{
3434
require: wrapRequire,
35-
nativeRequire: __non_webpack_require__,
35+
__original_require__: __non_webpack_require__,
3636
github,
3737
context,
3838
core,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.