diff options
Diffstat (limited to 'commands/installed.js')
-rw-r--r-- | commands/installed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/installed.js b/commands/installed.js index b24d2bd..c893af0 100644 --- a/commands/installed.js +++ b/commands/installed.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()); |