From 8cdc63104fc49f1eed3c259dab57cf5b09e8b5a6 Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Tue, 2 Mar 2021 15:55:31 +0000 Subject: [PATCH] Create /dev/tty on D: also --- .github/workflows/demo.yml | 3 --- dist/index.js | 2 ++ index.js | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 9c08578..b173cbe 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -58,9 +58,6 @@ jobs: ${{ secrets.MPDUDE_TEST_1_DEPLOY_KEY }} ${{ secrets.MPDUDE_TEST_2_DEPLOY_KEY }} - run: | - dir c:\\ - dir c:\\dev - ssh-add -l git clone git@github.com:mpdude/test-2.git test-2-git # cat ~/.ssh/config diff --git a/dist/index.js b/dist/index.js index e6b26b1..282eff2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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 { diff --git a/index.js b/index.js index adf4f05..85338c7 100644 --- a/index.js +++ b/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 {