From 888750439cc63cb2a753ab7a00488a43407ae4c7 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Fri, 22 Nov 2019 10:14:46 +0900 Subject: [PATCH] ncc --- lib/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 1d462c6..d440da4 100644 --- a/lib/index.js +++ b/lib/index.js @@ -5153,6 +5153,7 @@ const tc = __importStar(__webpack_require__(533)); const io = __importStar(__webpack_require__(1)); const get_os_1 = __importDefault(__webpack_require__(443)); const get_url_1 = __importDefault(__webpack_require__(901)); +const path = __importStar(__webpack_require__(622)); function installer(version) { return __awaiter(this, void 0, void 0, function* () { try { @@ -5162,7 +5163,7 @@ function installer(version) { console.log(`Operating System: ${osName}`); const hugoURL = get_url_1.default(osName, extended, version); core.debug(`hugoURL: ${hugoURL}`); - const hugoPath = `${process.env.HOME}/bin`; + const hugoPath = path.join(`${process.env.HOME}`, 'bin'); yield io.mkdirP(hugoPath); core.addPath(hugoPath); const hugoAssets = yield tc.downloadTool(hugoURL);