diff options
author | 0neGal <mail@0negal.com> | 2023-08-26 21:18:55 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2023-08-26 21:18:55 +0200 |
commit | 5aab63648392a54320d7704507c6ef4d358cc597 (patch) | |
tree | badb85a17316fe82fc635013ebdb89a67b7178a1 /src/modules | |
parent | 890d246856c28e9a13d040b842d1511100ea5c84 (diff) | |
download | Viper-5aab63648392a54320d7704507c6ef4d358cc597.tar.gz Viper-5aab63648392a54320d7704507c6ef4d358cc597.zip |
fixed edge case where packages.list() still broke
Oopsie woopsie, my badddd, so sowwieeee, i wwwont doww it agaainnn!
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/packages.js | 2 |
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 {}; } |