mirror of https://gitee.com/bigwinds/arangodb
Merge pull request #727 from pluma/manifest-lib-default-local
App requires should be module-relative by default. Fixes #721
This commit is contained in:
commit
2fd7bfcbc3
|
@ -1267,7 +1267,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