File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import { coderCloudBind } from "./coder_cloud"
1010import { commit , version } from "./constants"
1111import { register } from "./routes"
1212import { humanPath , isFile , open } from "./util"
13- import { wrapper } from "./wrapper"
1413
1514export const runVsCodeCli = ( args : DefaultedArgs ) : void => {
1615 logger . debug ( "forking vs code cli..." )
@@ -126,13 +125,8 @@ export const runCodeServer = async (args: DefaultedArgs): Promise<void> => {
126125 }
127126
128127 if ( args . link ) {
129- try {
130- await coderCloudBind ( serverAddress . replace ( / ^ h t t p s ? : \/ \/ / , "" ) , args . link . value )
131- logger . info ( " - Connected to cloud agent" )
132- } catch ( err ) {
133- logger . error ( err . message )
134- wrapper . exit ( 1 )
135- }
128+ await coderCloudBind ( serverAddress . replace ( / ^ h t t p s ? : \/ \/ / , "" ) , args . link . value )
129+ logger . info ( " - Connected to cloud agent" )
136130 }
137131
138132 if ( args . enable && args . enable . length > 0 ) {
You can’t perform that action at this time.
0 commit comments