From 6897db7438ff950cc2ed50ad5c41cc5d49cce7e5 Mon Sep 17 00:00:00 2001 From: Greg Brimble Date: Sat, 25 Apr 2020 14:16:29 +0100 Subject: [PATCH] Remove problem matcher --- Dockerfile | 1 - lib/actions/checkout/README.md | 2 +- lib/actions/checkout/index.js | 12 ++++++------ lib/actions/checkout/problem-matcher.json | 13 ------------- 4 files changed, 7 insertions(+), 21 deletions(-) delete mode 100644 lib/actions/checkout/problem-matcher.json diff --git a/Dockerfile b/Dockerfile index 0d48429..862ed44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,5 +3,4 @@ RUN apk update && apk upgrade && \ apk add --no-cache bash git openssh COPY entrypoint.sh /entrypoint.sh COPY lib/actions/checkout/index.js /checkout.js -COPY lib/actions/checkout/problem-matcher.json /problem-matcher.json ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file diff --git a/lib/actions/checkout/README.md b/lib/actions/checkout/README.md index 89ad32d..6870626 100644 --- a/lib/actions/checkout/README.md +++ b/lib/actions/checkout/README.md @@ -1,3 +1,3 @@ # Checkout Action -Taken from [dist/index.js](https://github.com/actions/checkout/blob/01aecccf739ca6ff86c0539fbc67a7a5007bbc81/dist/index.js) and [dist/problem-matcher.json](https://github.com/actions/checkout/blob/01aecccf739ca6ff86c0539fbc67a7a5007bbc81/dist/problem-matcher.json). +Taken from [dist/](https://github.com/actions/checkout/blob/01aecccf739ca6ff86c0539fbc67a7a5007bbc81/dist). diff --git a/lib/actions/checkout/index.js b/lib/actions/checkout/index.js index 3736fe5..6a6a31a 100644 --- a/lib/actions/checkout/index.js +++ b/lib/actions/checkout/index.js @@ -3372,12 +3372,12 @@ module.exports = /******/ (function (modules, runtime) { try { const sourceSettings = inputHelper.getInputs(); try { - // Register problem matcher - coreCommand.issueCommand( - "add-matcher", - {}, - path.join(__dirname, "problem-matcher.json") - ); + // // Register problem matcher + // coreCommand.issueCommand( + // "add-matcher", + // {}, + // path.join(__dirname, "problem-matcher.json") + // ); // Get sources yield gitSourceProvider.getSource(sourceSettings); } finally { diff --git a/lib/actions/checkout/problem-matcher.json b/lib/actions/checkout/problem-matcher.json deleted file mode 100644 index 13f6a7e..0000000 --- a/lib/actions/checkout/problem-matcher.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "problemMatcher": [ - { - "owner": "checkout-git", - "pattern": [ - { - "regexp": "^(fatal|error): (.*)$", - "message": 2 - } - ] - } - ] -}