Skip to content

Commit f8b782b

Browse files
committed
Move ignore-last-opened to ipc.d.ts
This is so it can be used in VS Code. Don't tell anyone but I forgot to run `yarn ci`.
1 parent cc584f8 commit f8b782b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ci/dev/vscode.patch

+3-2
Original file line numberDiff line numberDiff line change
@@ -1499,10 +1499,10 @@ index 0000000000000000000000000000000000000000..56331ff1fc32bbd82e769aaecb551e42
14991499
+require('../../bootstrap-amd').load('vs/server/entry');
15001500
diff --git a/src/vs/server/ipc.d.ts b/src/vs/server/ipc.d.ts
15011501
new file mode 100644
1502-
index 0000000000000000000000000000000000000000..bf45e75aaf0dc8953ee6fee97fe02149879d3d72
1502+
index 0000000000000000000000000000000000000000..bc605f03881109ce560c751b550ecaba4671cc74
15031503
--- /dev/null
15041504
+++ b/src/vs/server/ipc.d.ts
1505-
@@ -0,0 +1,139 @@
1505+
@@ -0,0 +1,140 @@
15061506
+/**
15071507
+ * External interfaces for integration into code-server over IPC. No vs imports
15081508
+ * should be made in this file.
@@ -1570,6 +1570,7 @@ index 0000000000000000000000000000000000000000..bf45e75aaf0dc8953ee6fee97fe02149
15701570
+ 'builtin-extensions-dir'?: string;
15711571
+ 'extra-extensions-dir'?: string[];
15721572
+ 'extra-builtin-extensions-dir'?: string[];
1573+
+ 'ignore-last-opened'?: boolean;
15731574
+
15741575
+ locale?: string
15751576
+

src/node/cli.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ export interface Args extends VsArgs {
5252
"proxy-domain"?: string[]
5353
locale?: string
5454
_: string[]
55-
"ignore-last-opened"?: boolean
5655
"reuse-window"?: boolean
5756
"new-window"?: boolean
5857

@@ -176,7 +175,7 @@ const options: Options<Required<Args>> = {
176175
"ignore-last-opened": {
177176
type: "boolean",
178177
short: "e",
179-
description: "Ignore the last opened directory or workspace in favor of an empty window."
178+
description: "Ignore the last opened directory or workspace in favor of an empty window.",
180179
},
181180
"new-window": {
182181
type: "boolean",

0 commit comments

Comments
 (0)