aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
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 };