mirror of https://gitee.com/bigwinds/arangodb
Inject process and console in Module.run.
This commit is contained in:
parent
00cbb400fd
commit
e9c5b87ea5
|
@ -1362,6 +1362,8 @@ function require (path) {
|
|||
print: internal.print,
|
||||
module: this,
|
||||
exports: this.exports,
|
||||
process: require('process'),
|
||||
console: require('console'),
|
||||
require: function (path) {
|
||||
return self.require(path);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue