Skip to content

Commit

Permalink
fixes #22593
Browse files Browse the repository at this point in the history
  • Loading branch information
ishanarora authored and Ishan Arora committed Jun 15, 2017
1 parent a248e33 commit 63dd1ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vs/platform/environment/node/environmentService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ function getUniqueUserId(): string {
}

function getNixIPCHandle(userDataPath: string, type: string): string {
if (process.env['XDG_RUNTIME_DIR']) {
return path.join(process.env['XDG_RUNTIME_DIR'], `${pkg.name}-${pkg.version}-${type}.sock`);
}
return path.join(userDataPath, `${pkg.version}-${type}.sock`);
}

Expand Down

0 comments on commit 63dd1ec

Please sign in to comment.