Skip to content

Commit

Permalink
rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulGiletich committed Mar 2, 2023
1 parent 6785799 commit 4de526d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/create-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ interface Location {
}

async function createAnnotations(results: TestResult[]) {
const gitRoot = (await execa('git', ['rev-parse', '--show-toplevel'])).stdout;
const repoRoot = (await execa('git', ['rev-parse', '--show-toplevel'])).stdout;

const annotations: Annotation[] = [];

Expand All @@ -80,7 +80,7 @@ async function createAnnotations(results: TestResult[]) {
: location.line || 0;

annotations.push({
path: path.relative(gitRoot, testFilePath),
path: path.relative(repoRoot, testFilePath),
start_line,
end_line: start_line,
annotation_level: 'failure',
Expand Down

0 comments on commit 4de526d

Please sign in to comment.