Remove dead code

This commit is contained in:
Anmol Sethi
2020-10-07 02:03:27 -04:00
parent 1c16814a89
commit 4b3c089630
3 changed files with 3 additions and 89 deletions

View File

@ -142,14 +142,14 @@ const main = async (args: Args, cliArgs: Args, configArgs: Args): Promise<void>
}
if (args["coder-bind"]) {
logger.info(`linking code-server to the cloud with name ${args["coder-bind"]}`)
try {
logger.info(`binding code-server to the cloud with name ${args["coder-bind"]}`)
await coderCloudBind(args["coder-bind"])
coderCloudProxy(serverAddress!)
} catch (err) {
logger.error(err.message)
process.exit(1)
ipcMain().exit(1)
}
}
}