Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Jun 18, 2024
1 parent 4e688e7 commit f94f0e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,10 @@ export class GitHub {
return;
}

const short = atob(warning.short);
let detail = warning.detail.map(encoded => atob(encoded).replace(/\s\(line \d+\)$/, '')).join(' ');
const detail = warning.detail.map(encoded => atob(encoded)).join(' ');
let short = atob(warning.short).replace(/\s\(line \d+\)$/, '');
if (warning.url) {
detail += `\nMore info: ${warning.url}`;
short += `\nMore details: ${warning.url}`;
}

core.info(`warning.level=${warning.level}`);
Expand Down

0 comments on commit f94f0e7

Please sign in to comment.