mirror of
https://github.com/nodejs/node.git
synced 2024-11-28 22:46:31 +01:00
escape backslashes for windows pipe name
This commit is contained in:
parent
a0198d065d
commit
a6a3bf6d47
@ -29,7 +29,7 @@ exports.tmpDir = path.join(exports.testDir, 'tmp');
|
||||
exports.PORT = 12346;
|
||||
|
||||
if (process.platform == 'win32') {
|
||||
exports.PIPE = '\\.\pipe\libuv-test';
|
||||
exports.PIPE = '\\\\.\\pipe\\libuv-test';
|
||||
} else {
|
||||
exports.PIPE = exports.tmpDir + '/test.sock';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user