diff options
author | Unknown | 2018-06-09 13:19:20 +0100 |
---|---|---|
committer | Unknown | 2018-06-09 13:19:20 +0100 |
commit | 05a7647c4478f8a3f9c81ed17c225b8bd7948957 (patch) | |
tree | 7d69b8ab26ed887e32b2c5d653999ab1b3b55ef0 | |
parent | d0344e0ed79ad5ef0383985e46b5c2fac275644a (diff) |
fix bag
-rw-r--r-- | pkg93.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -80,18 +80,18 @@ var pkg93 = { cli.log("<b><span style='color:#0f0'>MSG</span></b> " + json.msg); for (let item of json.packages) { try { - cli.log("<b><span style='color:#0f0'>OK</span></b> " + item + "@" + source); config.pkglist.push(item + "@" + source); + cli.log("<b><span style='color:#0f0'>OK</span></b> " + item + "@" + source); } catch (err) { cli.log("<b><span style='color:#f00'>ERR</span></b> " + 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);}}; |