Skip to content

Commit a9134d9

Browse files
1 parent f103e92 commit a9134d9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/spectral/ipa/metrics/scripts/getShouldRunMetricsRelease.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,21 @@ export default async function getShouldRunMetricsRelease({ github, context }) {
88
page: 1,
99
});
1010

11+
console.log('Response:', response);
12+
1113
if (response === undefined) {
1214
return true;
1315
}
1416

1517
const { data: runs } = response;
1618

19+
console.log('Runs:', runs);
20+
1721
if (runs === undefined || runs.length === 0) {
1822
return true;
1923
}
2024

21-
console.log(runs[1]);
25+
console.log('Last run:', runs[1]);
2226

2327
const previousStatus = runs[1].status;
2428

0 commit comments

Comments
 (0)