File tree 3 files changed +2
-2
lines changed
3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -774,6 +774,7 @@ export interface CodeArgs extends UserProvidedCodeArgs {
774
774
help : boolean
775
775
port : string
776
776
version : boolean
777
+ "without-connection-token" ?: boolean
777
778
"without-browser-env-var" ?: boolean
778
779
}
779
780
@@ -787,7 +788,6 @@ export type SpawnCli = (args: CodeArgs) => Promise<void>
787
788
*/
788
789
export const toCodeArgs = async ( args : DefaultedArgs ) : Promise < CodeArgs > => {
789
790
return {
790
- "connection-token" : "0000" ,
791
791
...args ,
792
792
"accept-server-license-terms" : true ,
793
793
/** Type casting. */
Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ export class CodeServerRouteWrapper {
137
137
this . _codeServerMain = await createVSServer ( null , {
138
138
...( await toCodeArgs ( args ) ) ,
139
139
// TODO: Make the browser helper script work.
140
+ "without-connection-token" : true ,
140
141
"without-browser-env-var" : true ,
141
142
} )
142
143
} catch ( error ) {
Original file line number Diff line number Diff line change @@ -730,7 +730,6 @@ describe("readSocketPath", () => {
730
730
describe ( "toCodeArgs" , ( ) => {
731
731
const vscodeDefaults = {
732
732
...defaults ,
733
- "connection-token" : "0000" ,
734
733
"accept-server-license-terms" : true ,
735
734
help : false ,
736
735
port : "8080" ,
You can’t perform that action at this time.
0 commit comments