diff --git a/src/main.ts b/src/main.ts index 17ded1c..3f4ad22 100644 --- a/src/main.ts +++ b/src/main.ts @@ -63,7 +63,7 @@ function main(): void fs.writeFileSync(fileName, file.contents, file.options); } - console.log(`SSH key has been stored to ${dirName} successfully.`); + console.log(`SSH key has been stored to ${dirName} successfully. / ${home}`); } catch(err) { @@ -84,13 +84,6 @@ function getHomeDirectory(): string throw Error(`${homeEnv} is not defined`); } - console.log(`HOME directory: ${home}`); - if(home === "/github/home") - { - // Docker container - return "/root"; - } - return home; }