Skip to content

Commit

Permalink
Resolve matcher path in single step (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
bendrucker authored Mar 29, 2022
1 parent faa8667 commit 12a32fc
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 157 deletions.
18 changes: 0 additions & 18 deletions dist/.github/matchers.json

This file was deleted.

29 changes: 0 additions & 29 deletions dist/.github/workflows/dist.yml

This file was deleted.

13 changes: 0 additions & 13 deletions dist/.github/workflows/semver.yml

This file was deleted.

93 changes: 0 additions & 93 deletions dist/.github/workflows/test.yml

This file was deleted.

4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9376,8 +9376,8 @@ async function run() {

core.addPath(pathToCLI);

const matchersPath = __nccwpck_require__.ab + ".github";
core.info(`##[add-matcher]${path.join(matchersPath, 'matchers.json')}`);
const matchersPath = __nccwpck_require__.ab + "matchers.json";
core.info(`##[add-matcher]${matchersPath}`);

return version;
} catch (ex) {
Expand Down
4 changes: 2 additions & 2 deletions src/setup-tflint.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ async function run() {

core.addPath(pathToCLI);

const matchersPath = path.join(__dirname, '..', '.github');
core.info(`##[add-matcher]${path.join(matchersPath, 'matchers.json')}`);
const matchersPath = path.join(__dirname, '..', '.github', 'matchers.json');
core.info(`##[add-matcher]${matchersPath}`);

return version;
} catch (ex) {
Expand Down

0 comments on commit 12a32fc

Please sign in to comment.