From d017208f6c44f499dc99a6c3ec1bd644ee216a38 Mon Sep 17 00:00:00 2001 From: Aaro Varis Date: Tue, 10 Sep 2024 10:23:39 +0300 Subject: [PATCH] update path resolving --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 66a8a63..be43acb 100644 --- a/index.js +++ b/index.js @@ -8,9 +8,9 @@ require("dotenv").config() const GIT_URI = process.env.GIT_URI const GIT_BRANCH = process.env.GIT_BRANCH || "main" -const PROJECT_DIR = __dirname + "\\project" +const PROJECT_DIR = path.resolve(__dirname + "\\project") -const KEY_DIR = __dirname + "\\keys" +const KEY_DIR = path.resolve(__dirname + "\\keys") const KEY_LOCATION = path.resolve(KEY_DIR + "\\deploy.pem") const KEY_LOCATION_PUBLIC = path.resolve(KEY_LOCATION+".pub")