aboutsummaryrefslogtreecommitdiff
path: root/commands/list.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/list.js')
-rw-r--r--commands/list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/list.js b/commands/list.js
index 9dc0020..b0f9e5e 100644
--- a/commands/list.js
+++ b/commands/list.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());