mirror of
https://github.com/actions/github-script.git
synced 2026-02-07 19:47:26 +00:00
Test eval
This commit is contained in:
parent
1f8fc98741
commit
d37f92ff11
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ export const wrapRequire = new Proxy(__non_webpack_require__, {
|
|||
return target.apply(thisArg, [moduleID])
|
||||
} catch (err) {
|
||||
return target.resolve(moduleID, {
|
||||
paths: global.module.paths.concat(process.cwd())
|
||||
paths: eval('module').paths.concat(process.cwd())
|
||||
})
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue