From 69a4207ea494e03fe3289cd85628e688d01852b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Mon, 19 Feb 2018 13:14:14 -0500 Subject: [PATCH] Remove support for the `lounge` CLI (which was replaced with `thelounge`) --- package.json | 1 - src/command-line/index.js | 7 ------- 2 files changed, 8 deletions(-) diff --git a/package.json b/package.json index 983f2454..f449ebc2 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,6 @@ "version": "2.7.1", "preferGlobal": true, "bin": { - "lounge": "index.js", "thelounge": "index.js" }, "repository": { diff --git a/src/command-line/index.js b/src/command-line/index.js index 245e3781..8a4a2dc7 100644 --- a/src/command-line/index.js +++ b/src/command-line/index.js @@ -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.