mirror of
https://github.com/actions/github-script.git
synced 2026-12-06 02:42:55 +00:00
Pass nativeRequire, as well
This commit is contained in:
5 files changed
+4
-2
No files matched your search
@@ -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