From b2ef77dbb70465af4fb517cf6895e23a2157f62d Mon Sep 17 00:00:00 2001 From: "Ivan Zosimov (Akvelon INC)" Date: Thu, 24 Feb 2022 10:51:21 +0300 Subject: [PATCH] Change logic to find matchers.json file --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index a3c66a0..dc09cc1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -53,7 +53,7 @@ export async function run() { } // add problem matchers - const matchersPath = path.join(__dirname, '../..', 'matchers.json'); + const matchersPath = path.join(process.cwd(), 'matchers.json'); core.info(`##[add-matcher]${matchersPath}`); // output the version actually being used