diff --git a/lib/index.js b/lib/index.js index 88bd249..2ff2f87 100644 --- a/lib/index.js +++ b/lib/index.js @@ -659,7 +659,7 @@ function getHomeDirectory() { const homeEnv = getHomeEnv(); const home = process.env[homeEnv]; if (home === undefined) { - throw Error(`${homeEnv} is not defined`); + return "/root"; } if (home === "/github/home") { // Docker container