Skip to content

Commit

Permalink
fixed edge case where packages.list() still broke
Browse files Browse the repository at this point in the history
Oopsie woopsie, my badddd, so sowwieeee, i wwwont doww it agaainnn!
  • Loading branch information
0neGal committed Aug 26, 2023
1 parent 890d246 commit 5aab636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {};
}
Expand Down

0 comments on commit 5aab636

Please sign in to comment.