mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-02-25 17:11:55 +00:00
avoid duplicate lines
This commit is contained in:
parent
9f8fc4fd81
commit
7d9d94827a
3 changed files with 3 additions and 0 deletions
1
dist/post_run/index.js
generated
vendored
1
dist/post_run/index.js
generated
vendored
|
|
@ -90902,6 +90902,7 @@ const printOutputAndForwardJSON = (s) => {
|
||||||
for (const line of lines) {
|
for (const line of lines) {
|
||||||
if (line.startsWith(`::`)) {
|
if (line.startsWith(`::`)) {
|
||||||
core.info(line);
|
core.info(line);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
JSON.parse(line);
|
JSON.parse(line);
|
||||||
|
|
|
||||||
1
dist/run/index.js
generated
vendored
1
dist/run/index.js
generated
vendored
|
|
@ -90902,6 +90902,7 @@ const printOutputAndForwardJSON = (s) => {
|
||||||
for (const line of lines) {
|
for (const line of lines) {
|
||||||
if (line.startsWith(`::`)) {
|
if (line.startsWith(`::`)) {
|
||||||
core.info(line);
|
core.info(line);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
JSON.parse(line);
|
JSON.parse(line);
|
||||||
|
|
|
||||||
|
|
@ -108,6 +108,7 @@ const printOutputAndForwardJSON = (s: string): void => {
|
||||||
for (const line of lines) {
|
for (const line of lines) {
|
||||||
if (line.startsWith(`::`)) {
|
if (line.startsWith(`::`)) {
|
||||||
core.info(line)
|
core.info(line)
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue