diff --git a/index.js b/index.js index 6218447..230c1b4 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,7 @@ try { } const homeSsh = homePath + '/.ssh'; - if (!fs.existsSync(buildDir)) { + if (!fs.existsSync(homeSsh)) { fs.mkdirSync(homeSsh, { recursive: true }); }