mirror of
https://github.com/coder/code-server.git
synced 2025-07-30 13:32:59 +08:00
Remove dead code
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user