Skip to content

Commit e107a15

Browse files
committed
wip: add notes
1 parent 20ce768 commit e107a15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/node/cli.ts

+2
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,8 @@ export const shouldRunVsCodeCli = (args: Args): boolean => {
663663
* If it can't read the path, it throws an error and returns undefined.
664664
*/
665665
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
666668
try {
667669
return await fs.readFile(path.join(os.tmpdir(), "vscode-ipc"), "utf8")
668670
} catch (error) {

0 commit comments

Comments
 (0)