mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 16:16:21 +00:00
Test eval
This commit is contained in:
@@ -11,7 +11,7 @@ export const wrapRequire = new Proxy(__non_webpack_require__, {
|
|||||||
return target.apply(thisArg, [moduleID])
|
return target.apply(thisArg, [moduleID])
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return target.resolve(moduleID, {
|
return target.resolve(moduleID, {
|
||||||
paths: global.module.paths.concat(process.cwd())
|
paths: eval('module').paths.concat(process.cwd())
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user