From c3eb6ee14467f0a82fb9625f58a02017aa1bd949 Mon Sep 17 00:00:00 2001
From: Unknown
Date: Tue, 5 Jun 2018 14:01:44 +0100
Subject: oops i didn't fix it properly
---
pkg93.js | 14 --------------
1 file changed, 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("ERR " + err.message);
return false;
}
- } catch (err) {
- $log("ERR " + err.toString());
- return err;
}
},
pkgInfo: async function(pkg, onlineOnly) {
@@ -307,17 +304,6 @@ If you find my software useful, consider donating WTF? " + wtf[Math.floor(Math.random() * wtf.length)] + " + " + wtf[Math.floor(Math.random() * wtf.length)] + " = " + wtf[Math.floor(Math.random() * wtf.length)]);
- } else {
- $log("ERR Invalid command. Type \"pkg93\" without any arguments for help.");
}
} else if (args[0] == "help") {
cli.log(help);
--
cgit v1.2.3