File tree 1 file changed +2
-8
lines changed
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"
10
10
import { commit , version } from "./constants"
11
11
import { register } from "./routes"
12
12
import { humanPath , isFile , open } from "./util"
13
- import { wrapper } from "./wrapper"
14
13
15
14
export const runVsCodeCli = ( args : DefaultedArgs ) : void => {
16
15
logger . debug ( "forking vs code cli..." )
@@ -126,13 +125,8 @@ export const runCodeServer = async (args: DefaultedArgs): Promise<void> => {
126
125
}
127
126
128
127
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" )
136
130
}
137
131
138
132
if ( args . enable && args . enable . length > 0 ) {
You can’t perform that action at this time.
0 commit comments