diff options
author | Unknown | 2018-06-16 11:56:27 +0100 |
---|---|---|
committer | Unknown | 2018-06-16 11:56:27 +0100 |
commit | 159ceec76fda08d9e93ffac9ea36c7b29c8edeab (patch) | |
tree | 005629317f1172d9619f06ac5c8378c1e4b91170 | |
parent | 3d8f4ba7193d9c679c1c3991007ab7f9eb47feeb (diff) |
remove debugging console.log()s
-rw-r--r-- | pkg93.js | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -110,7 +110,6 @@ var pkg93 = { for (let source of config.repos) { await new Promise(async (reso, reje) => { try { - console.log(source); cli.log("<b><span style='color:#f0f'>GET</span></b> " + source + "/repo.json"); var bardiv = cli.log(_abarpkg93uses(60, 0)); var xhr = new XMLHttpRequest(); @@ -123,7 +122,6 @@ var pkg93 = { }; xhr.onload = () => { try { - console.log(xhr.responseText); var json = JSON.parse(xhr.responseText); cli.log("<b><span style='color:#0f0'>NAME</span></b> " + json.name); cli.log("<b><span style='color:#0f0'>MSG</span></b> " + json.msg); @@ -139,7 +137,6 @@ var pkg93 = { } catch (err) { console.error(err); cli.log("<b><span style='color:#f00'>ERR</span></b> " + err.message); - console.log(xhr.responseText); reje(); } }; @@ -417,7 +414,6 @@ If you find my software useful, consider donating <a style="color: #00f;" href=" } else { var depends = pkgInfo.dependencies ? pkgInfo.dependencies.join(" , ") : "<i><span style='color:#444'>None!</span></i>"; var description = pkgInfo.description ? pkgInfo.description : "<i><span style='color:#444'>None!</span></i>"; - console.log(pkgInfo); cli.log(`<b><u>${pkgInfo.name}</u></b> Description: ${description} Dependencies: ${depends}`); |