Create /dev/tty on D: also

This commit is contained in:
Matthias Pigulla committed 2021-03-02 15:55:31 +00:00
1 parent e0d767fd8e
commit 8cdc63104f
3 files changed
+4 -3

No files matched your search

+2
View File
@@ -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 {