Skip to content

Commit 86313c0

Browse files
committed
Update Code's server arguments
1 parent 096feb7 commit 86313c0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/node/cli.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -774,10 +774,11 @@ export interface CodeArgs extends UserProvidedCodeArgs {
774774
"accept-server-license-terms"?: boolean
775775
"connection-token"?: string
776776
help: boolean
777-
port: string
777+
port?: string
778778
version: boolean
779779
"without-connection-token"?: boolean
780780
"without-browser-env-var"?: boolean
781+
compatibility: string
781782
}
782783

783784
/**
@@ -792,6 +793,9 @@ export const toCodeArgs = async (args: DefaultedArgs): Promise<CodeArgs> => {
792793
return {
793794
...args,
794795
"accept-server-license-terms": true,
796+
// This seems to be used to make the connection token flags optional (when
797+
// set to 1.63) but we have always included them.
798+
compatibility: "1.64",
795799
/** Type casting. */
796800
help: !!args.help,
797801
version: !!args.version,

0 commit comments

Comments
 (0)