Fix authServer on Windows path

Fixes #1588
This commit is contained in:
Nick O'Leary
2018-01-29 21:47:20 +00:00
parent 771e43583a
commit 8672fcd2bb
2 changed files with 4 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ function getListenPath() {
var fn = 'node-red-git-askpass-'+seed+'-sock';
var listenPath;
if (process.platform === 'win32') {
listenPath = '\\\\.\\pipe\\'+getListenPath;
listenPath = '\\\\.\\pipe\\'+fn;
} else {
listenPath = path.join(process.env['XDG_RUNTIME_DIR'] || os.tmpdir(), fn);
}