mirror of
https://github.com/actions/github-script.git
synced 2026-05-13 11:26:55 +00:00
Pass nativeRequire, as well
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import * as path from 'path'
|
||||
|
||||
declare const __non_webpack_require__: NodeRequire
|
||||
|
||||
export const wrapRequire = new Proxy(__non_webpack_require__, {
|
||||
apply: (target, thisArg, [moduleID]) => {
|
||||
if (moduleID.startsWith('.')) {
|
||||
|
||||
Reference in New Issue
Block a user