Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Commit b78aa9a

Browse files
authored
Merge pull request #41 from bradennapier/fix/log-annotations
Fix/log annotations
2 parents f5bc573 + 5f7f134 commit b78aa9a

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: ubuntu-latest
4444
steps:
4545
- uses: actions/checkout@v2
46-
- uses: bradennapier/[email protected]-beta.2
46+
- uses: bradennapier/[email protected]
4747
```
4848
4949
## Features
@@ -131,7 +131,7 @@ jobs:
131131
runs-on: ubuntu-latest
132132
steps:
133133
- uses: actions/checkout@v2
134-
- uses: bradennapier/[email protected]-beta.2
134+
- uses: bradennapier/[email protected]
135135
```
136136

137137
## Examples
@@ -149,7 +149,7 @@ jobs:
149149
runs-on: ubuntu-latest
150150
steps:
151151
- uses: actions/checkout@v2
152-
- uses: bradennapier/[email protected]-beta.2
152+
- uses: bradennapier/[email protected]
153153
```
154154

155155
### Environment Variables
@@ -162,7 +162,7 @@ jobs:
162162
runs-on: ubuntu-latest
163163
steps:
164164
- uses: actions/checkout@v2
165-
- uses: bradennapier/[email protected]-beta.2
165+
- uses: bradennapier/[email protected]
166166
env:
167167
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
168168
```
@@ -175,7 +175,7 @@ jobs:
175175
runs-on: ubuntu-latest
176176
steps:
177177
- uses: actions/checkout@v2
178-
- uses: bradennapier/[email protected]-beta.2
178+
- uses: bradennapier/[email protected]
179179
env:
180180
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
181181
with:

lib/utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ function processLintResults(engine, report, data) {
125125
else {
126126
rule.annotations.push(annotation);
127127
}
128+
console.warn('ESLint Annotation: ', annotation);
128129
annotations.push(annotation);
129130
}
130131
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-action",
3-
"version": "3.4.1-beta.2",
3+
"version": "3.4.1",
44
"private": true,
55
"description": "TypeScript template action",
66
"main": "lib/run.js",

src/utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ export function processLintResults(
200200
rule.annotations.push(annotation);
201201
}
202202

203+
console.warn('ESLint Annotation: ', annotation);
204+
203205
annotations.push(annotation);
204206
}
205207
}

0 commit comments

Comments
 (0)