mirror of
https://github.com/webfactory/ssh-agent.git
synced 2025-06-28 13:43:46 +00:00
Create /dev/tty on D: also
This commit is contained in:
parent
e0d767fd8e
commit
8cdc63104f
3 changed files with 4 additions and 3 deletions
2
index.js
2
index.js
|
@ -23,6 +23,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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue