5 Commits

Author SHA1 Message Date
Jano Paetzold
8a99c6c0c1 Fix constant name 2025-01-08 18:21:42 +01:00
Jano Paetzold
23e7834981 Update CHANGELOG.md 2025-01-08 18:11:04 +01:00
Jano Paetzold
7e04477f79 Rebuild dist/ 2025-01-08 18:09:13 +01:00
Jano Paetzold
28f6a06f87 Merge remote-tracking branch 'origin/master' into mkdir-p 2025-01-08 18:08:34 +01:00
Nikolay Edigaryev
9a01299151 Do not create ~/.ssh if it's already exists ("mkdir -p" behavior) 2025-01-06 23:19:03 +04:00
3 changed files with 7 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
* Fix path used to execute ssh-agent in cleanup.js to respect custom paths set by input (#235)
* Fix running with the .ssh directory already existing (#234)
## v0.9.0 [2024-02-06]

4
dist/index.js vendored
View File

@@ -335,7 +335,9 @@ try {
}
const homeSsh = homePath + '/.ssh';
fs.mkdirSync(homeSsh, { recursive: true });
if (!fs.existsSync(buildDir)) {
fs.mkdirSync(homeSsh, { recursive: true });
}
console.log("Starting ssh-agent");

View File

@@ -15,7 +15,9 @@ try {
}
const homeSsh = homePath + '/.ssh';
fs.mkdirSync(homeSsh, { recursive: true });
if (!fs.existsSync(homeSsh)) {
fs.mkdirSync(homeSsh, { recursive: true });
}
console.log("Starting ssh-agent");