We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20ce768 commit e107a15Copy full SHA for e107a15
src/node/cli.ts
@@ -663,6 +663,8 @@ export const shouldRunVsCodeCli = (args: Args): boolean => {
663
* If it can't read the path, it throws an error and returns undefined.
664
*/
665
export async function readSocketPath(): Promise<string | undefined> {
666
+ // TODO@jsjoeio - we should make this function pure and pass in the path
667
+ // to the file it reads
668
try {
669
return await fs.readFile(path.join(os.tmpdir(), "vscode-ipc"), "utf8")
670
} catch (error) {
0 commit comments