From 499a64419b0af72da6bd4c81cb81631b3326aa7f Mon Sep 17 00:00:00 2001 From: Jonas Bengtsson Date: Fri, 3 Jan 2020 11:55:35 +0100 Subject: [PATCH] Add abolute path to json files --- index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 25ea2a9..6f42e9f 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ -console.log("::add-matcher::.github/android-lint-file-matcher.json"); -console.log("::add-matcher::.github/android-lint-line-matcher.json"); -console.log("::add-matcher::.github/gradle-matcher.json"); -console.log("::add-matcher::.github/kotlin-error-matcher.json"); -console.log("::add-matcher::.github/kotlin-warning-matcher.json"); +console.log(`::add-matcher::${process.cwd()}/.github/android-lint-file-matcher.json`); +console.log(`::add-matcher::${process.cwd()}/.github/android-lint-line-matcher.json`); +console.log(`::add-matcher::${process.cwd()}/.github/gradle-matcher.json`); +console.log(`::add-matcher::${process.cwd()}/.github/kotlin-error-matcher.json`); +console.log(`::add-matcher::${process.cwd()}/.github/kotlin-warning-matcher.json`);