aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/packages.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/packages.js b/src/modules/packages.js
index d6420b9..38303e2 100644
--- a/src/modules/packages.js
+++ b/src/modules/packages.js
@@ -61,7 +61,7 @@ packages.split_name = (name) => {
packages.list = (dir = packages.path, no_functions) => {
update_path();
- if (! fs.existsSync(packages.path)
+ if (! fs.existsSync(dir)
|| dir == "R2Northstar/packages") {
return {};
}