Remove support for the lounge CLI (which was replaced with thelounge)

This commit is contained in:
Jérémie Astori 2018-02-19 13:14:14 -05:00
parent 9ecb776760
commit 69a4207ea4
No known key found for this signature in database
GPG Key ID: B9A4F245CD67BDE8
2 changed files with 0 additions and 8 deletions

View File

@ -4,7 +4,6 @@
"version": "2.7.1",
"preferGlobal": true,
"bin": {
"lounge": "index.js",
"thelounge": "index.js"
},
"repository": {

View File

@ -46,13 +46,6 @@ if (!Helper.config.public && !Helper.config.ldap.enable) {
require("./install");
require("./uninstall");
// TODO: Remove this when releasing The Lounge v3
if (process.argv[1].endsWith(`${require("path").sep}lounge`)) {
log.warn(`The ${colors.red("lounge")} CLI is ${colors.bold.red("deprecated")} and will be removed in v3.`);
log.warn(`Use ${colors.green("thelounge")} instead.`);
process.argv[1] = "thelounge";
}
// `parse` expects to be passed `process.argv`, but we need to remove to give it
// a version of `argv` that does not contain options already parsed by
// `parseOptions` above.