Skip to content

Commit bc87d6e

Browse files
authored
fix: correct reference branch / commitSha in performance-reporter (#19941)
1 parent f5cb2b9 commit bc87d6e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

system-tests/lib/performance-reporter.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ class StatsdReporter {
1414

1515
console.log(chalk.green('Reporting to honeycomb'))
1616

17-
let branch; let commitSha
17+
let branch
18+
let commitSha
1819

1920
this.honey = new Libhoney({
2021
dataset: 'systemtest-performance',
@@ -24,8 +25,8 @@ class StatsdReporter {
2425
commitInfo().then((commitInformation) => {
2526
const ciInformation = ciProvider.commitParams() || {}
2627

27-
this.branch = commitInformation.branch || ciInformation.branch
28-
this.commitSha = commitInformation.sha || ciInformation.sha
28+
branch = commitInformation.branch || ciInformation.branch
29+
commitSha = commitInformation.sha || ciInformation.sha
2930
})
3031

3132
runner.on('test', (test) => {

0 commit comments

Comments
 (0)