mirror of https://gitee.com/bigwinds/arangodb
App requires should be module-relative by default. Fixes #721
This commit is contained in:
parent
7a3635adf9
commit
3d511060ce
|
@ -1258,7 +1258,7 @@ function require (path) {
|
|||
libpath = fs.join(this._root, this._path, this._manifest[type]);
|
||||
}
|
||||
else {
|
||||
libpath = fs.join(this._root, this._path, type);
|
||||
libpath = fs.join(this._root, this._path);
|
||||
}
|
||||
|
||||
var pkg = new Package("application",
|
||||
|
|
Loading…
Reference in New Issue