mirror of https://git.tuxpa.in/a/code-server.git
Remove no longer used and commented out VSCODE_ALLOW_IO line
This commit is contained in:
parent
559bdbc147
commit
972806b210
|
@ -33,9 +33,6 @@ export const requireModule = (modulePath: string, builtInExtensionsDir: string):
|
||||||
return customMod.require(id);
|
return customMod.require(id);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Always do this so we can see console.logs.
|
|
||||||
// process.env.VSCODE_ALLOW_IO = "true";
|
|
||||||
|
|
||||||
let content: Buffer | undefined;
|
let content: Buffer | undefined;
|
||||||
const readFile = (name: string): Buffer => {
|
const readFile = (name: string): Buffer => {
|
||||||
return fs.readFileSync(path.join(process.env.BUILD_DIR as string || path.join(__dirname, "../.."), "./build", name));
|
return fs.readFileSync(path.join(process.env.BUILD_DIR as string || path.join(__dirname, "../.."), "./build", name));
|
||||||
|
|
Loading…
Reference in New Issue