This commit is contained in:
Henri Maurer
2023-06-14 10:26:22 +01:00
parent 5573b58443
commit 1856a6de19
3 changed files with 3 additions and 3 deletions
Generated Vendored
+1 -1
View File
@@ -499,7 +499,7 @@ function getComparison(baseRef, headRef, retryOpts) {
headRef
});
if (retryOpts !== undefined && comparison.snapshot_warnings.trim() !== '') {
if (retryOpts.retryUntil > Date.now()) {
if (retryOpts.retryUntil < Date.now()) {
core.info(`Retry timeout exceeded. Snapshot warnings still present: ${comparison.snapshot_warnings}.`);
core.info('Proceeding...');
return comparison;
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -36,7 +36,7 @@ async function getComparison(
headRef
})
if (retryOpts !== undefined && comparison.snapshot_warnings.trim() !== '') {
if (retryOpts.retryUntil > Date.now()) {
if (retryOpts.retryUntil < Date.now()) {
core.info(
`Retry timeout exceeded. Snapshot warnings still present: ${comparison.snapshot_warnings}.`
)