aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknown2018-06-05 14:01:44 +0100
committerUnknown2018-06-05 14:01:44 +0100
commitc3eb6ee14467f0a82fb9625f58a02017aa1bd949 (patch)
tree1d70a62af773de6a0c2d0546aa3705393d5adc52
parent2ba8a94f6f1eaa01e0aa531cd246c9f787e33f19 (diff)
oops i didn't fix it properly
-rw-r--r--pkg93.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/pkg93.js b/pkg93.js
index 50a3a23..187e69a 100644
--- a/pkg93.js
+++ b/pkg93.js
@@ -165,9 +165,6 @@ var pkg93 = {
cli.log("<b><span style='color:#f00'>ERR</span></b> " + err.message);
return false;
}
- } catch (err) {
- $log("<b><span style='color:#f00'>ERR</span></b> " + err.toString());
- return err;
}
},
pkgInfo: async function(pkg, onlineOnly) {
@@ -307,17 +304,6 @@ If you find my software useful, consider donating <a style="color: #00f;" href="
Description: ${description}
Dependencies: ${depends}`);
}
- } else if (args[0] == "help") {
- $log(help);
- } else if (args[0] == "wtf") {
- // for teh lulz
- new Audio("/c/sys/sounds/QUACK.ogg").play();
- wtf = ["mudkipz", "pkg93", "memes", "linux", "javascript", "git", "cpu",
- "windows93", "discord", "kirb", "apt93", "delays", "trash",
- "kernel panic", "bash", "package manager", "recusion"];
- $log("<b><span style='color:#0f0'>WTF?</span></b> " + wtf[Math.floor(Math.random() * wtf.length)] + " + " + wtf[Math.floor(Math.random() * wtf.length)] + " = " + wtf[Math.floor(Math.random() * wtf.length)]);
- } else {
- $log("<b><span style='color:#f00'>ERR</span></b> Invalid command. Type \"pkg93\" without any arguments for help.");
}
} else if (args[0] == "help") {
cli.log(help);