From 005261f22f163d13c44b8b41935da5a1231a4626 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 12 Feb 2022 22:05:23 +0100 Subject: Update --- commands/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/list.js') 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()); -- cgit