From 05a7647c4478f8a3f9c81ed17c225b8bd7948957 Mon Sep 17 00:00:00 2001
From: Unknown
Date: Sat, 9 Jun 2018 13:19:20 +0100
Subject: fix bag
---
pkg93.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkg93.js b/pkg93.js
index 61c8387..6977b45 100644
--- a/pkg93.js
+++ b/pkg93.js
@@ -80,18 +80,18 @@ var pkg93 = {
cli.log("MSG " + json.msg);
for (let item of json.packages) {
try {
- cli.log("OK " + item + "@" + source);
config.pkglist.push(item + "@" + source);
+ cli.log("OK " + item + "@" + source);
} catch (err) {
cli.log("ERR " + err.message);
}
}
+ localStorage[".pkg93/config.json"] = JSON.stringify(config);
res();
};
xhr.send();
});
}
- localStorage[".pkg93/config.json"] = JSON.stringify(config);
},
get: async function(pkg, cli) {
cli = cli || {log: (i) => {$log(i);}};
--
cgit v1.2.3