Skip to content

Commit

Permalink
Merge pull request #28816 from ishanarora/master
Browse files Browse the repository at this point in the history
fixes #22593
  • Loading branch information
joaomoreno authored Jun 16, 2017
2 parents d53d2d7 + 63dd1ec commit 8308461
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 8308461

Please sign in to comment.