mirror of
https://github.com/webfactory/ssh-agent.git
synced 2026-03-26 12:59:07 +08:00
Create /dev/tty on D: also
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -140,6 +140,8 @@ try {
|
||||
// Work around https://github.com/PowerShell/openssh-portable/pull/447 by creating a \dev\tty file
|
||||
fs.mkdirSync('c:\\dev');
|
||||
fs.closeSync(fs.openSync('c:\\dev\\tty', 'a'));
|
||||
fs.mkdirSync('d:\\dev');
|
||||
fs.closeSync(fs.openSync('d:\\dev\\tty', 'a'));
|
||||
|
||||
home = os.homedir();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user