mirror of
https://github.com/webfactory/ssh-agent.git
synced 2024-11-23 17:48:00 +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
3
.github/workflows/demo.yml
vendored
3
.github/workflows/demo.yml
vendored
|
@ -58,9 +58,6 @@ jobs:
|
||||||
${{ secrets.MPDUDE_TEST_1_DEPLOY_KEY }}
|
${{ secrets.MPDUDE_TEST_1_DEPLOY_KEY }}
|
||||||
${{ secrets.MPDUDE_TEST_2_DEPLOY_KEY }}
|
${{ secrets.MPDUDE_TEST_2_DEPLOY_KEY }}
|
||||||
- run: |
|
- run: |
|
||||||
dir c:\\
|
|
||||||
dir c:\\dev
|
|
||||||
ssh-add -l
|
|
||||||
git clone git@github.com:mpdude/test-2.git test-2-git
|
git clone git@github.com:mpdude/test-2.git test-2-git
|
||||||
|
|
||||||
# cat ~/.ssh/config
|
# cat ~/.ssh/config
|
||||||
|
|
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
|
// Work around https://github.com/PowerShell/openssh-portable/pull/447 by creating a \dev\tty file
|
||||||
fs.mkdirSync('c:\\dev');
|
fs.mkdirSync('c:\\dev');
|
||||||
fs.closeSync(fs.openSync('c:\\dev\\tty', 'a'));
|
fs.closeSync(fs.openSync('c:\\dev\\tty', 'a'));
|
||||||
|
fs.mkdirSync('d:\\dev');
|
||||||
|
fs.closeSync(fs.openSync('d:\\dev\\tty', 'a'));
|
||||||
|
|
||||||
home = os.homedir();
|
home = os.homedir();
|
||||||
} else {
|
} else {
|
||||||
|
|
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
|
// Work around https://github.com/PowerShell/openssh-portable/pull/447 by creating a \dev\tty file
|
||||||
fs.mkdirSync('c:\\dev');
|
fs.mkdirSync('c:\\dev');
|
||||||
fs.closeSync(fs.openSync('c:\\dev\\tty', 'a'));
|
fs.closeSync(fs.openSync('c:\\dev\\tty', 'a'));
|
||||||
|
fs.mkdirSync('d:\\dev');
|
||||||
|
fs.closeSync(fs.openSync('d:\\dev\\tty', 'a'));
|
||||||
|
|
||||||
home = os.homedir();
|
home = os.homedir();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue