aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
authorAnthony Pesch <inolen@gmail.com>2013-08-06 12:02:25 -0700
committerAnthony Pesch <inolen@gmail.com>2013-08-06 12:03:42 -0700
commit02ce39750d466a396c4ff7f3bd83961ec4f52cad (patch)
tree31c99cac2d090923eb8bcb6c0459915f92e78ef2 /src/library.js
parent234133b88ff254bc125a7b17ef10c146a802ea3b (diff)
fix for process.cwd usage
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 5a363092..de743b31 100644
--- a/src/library.js
+++ b/src/library.js
@@ -180,6 +180,9 @@ LibraryManager.library = {
//
// paths
//
+ cwd: function() {
+ return FS.currentPath;
+ },
lookupPath: function (path, opts) {
path = PATH.resolve(FS.currentPath, path);
opts = opts || { recurse_count: 0 };