Skip to content

Commit

Permalink
fix(formatters): add 1 to column numbers and line numbers
Browse files Browse the repository at this point in the history
# Conflicts:
#	packages/formatters/src/github-actions.ts
  • Loading branch information
siketyan committed Jul 25, 2023
1 parent b829876 commit 77cddc0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/formatters/src/github-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ export const githubActions: Formatter = results => {
const params: OutputParams = {
title: result.code.toString(),
file,
col: result.range.start.character,
endColumn: result.range.end.character,
line: result.range.start.line,
endLine: result.range.end.line,
col: result.range.start.character + 1,
endColumn: result.range.end.character + 1,
line: result.range.start.line + 1,
endLine: result.range.end.line + 1,
};

const paramsString = Object.entries(params)
Expand Down

0 comments on commit 77cddc0

Please sign in to comment.