From 908c50f59fc5c15d31da08963d4b79bc2f5336c9 Mon Sep 17 00:00:00 2001 From: shimataro Date: Mon, 8 Feb 2021 23:08:27 +0900 Subject: [PATCH] print home --- src/main.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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; }