mirror of https://github.com/coder/code-server.git
Revert accidental newline removal in patch
It makes the patch needlessly noisy. I am not sure how the line got deleted in the first place.
This commit is contained in:
parent
8789dec68b
commit
952523f288
|
@ -299,15 +299,7 @@ Index: code-server/lib/vscode/src/server-main.ts
|
||||||
|
|
||||||
function sanitizeStringArg(val: any): string | undefined {
|
function sanitizeStringArg(val: any): string | undefined {
|
||||||
if (Array.isArray(val)) { // if an argument is passed multiple times, minimist creates an array
|
if (Array.isArray(val)) { // if an argument is passed multiple times, minimist creates an array
|
||||||
@@ -228,7 +232,6 @@ async function findFreePort(host: string
|
@@ -283,3 +287,22 @@ function prompt(question: string): Promi
|
||||||
}
|
|
||||||
|
|
||||||
async function loadCode(nlsConfiguration: INLSConfiguration) {
|
|
||||||
-
|
|
||||||
// required for `bootstrap-esm` to pick up NLS messages
|
|
||||||
process.env['VSCODE_NLS_CONFIG'] = JSON.stringify(nlsConfiguration);
|
|
||||||
|
|
||||||
@@ -283,3 +286,22 @@ function prompt(question: string): Promi
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue