diff options
Diffstat (limited to 'commands/installable.js')
-rw-r--r-- | commands/installable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/installable.js b/commands/installable.js index 6e76115..fc0f221 100644 --- a/commands/installable.js +++ b/commands/installable.js @@ -1,5 +1,5 @@ module.exports = async () => { - let packages = JSON.parse(fs.readFileSync(home + "/repository/list.json").toString()); + let packages = JSON.parse(fs.readFileSync(home + "/repository/list.json").toString()).sort(); let installed = JSON.parse(fs.readFileSync(home + "/installed.json").toString()).map(i => i.id); let installs = JSON.parse(fs.readFileSync(home + "/installed.json").toString()); |