fix
This commit is contained in:
+1
-1
@@ -499,7 +499,7 @@ function getComparison(baseRef, headRef, retryOpts) {
|
|||||||
headRef
|
headRef
|
||||||
});
|
});
|
||||||
if (retryOpts !== undefined && comparison.snapshot_warnings.trim() !== '') {
|
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(`Retry timeout exceeded. Snapshot warnings still present: ${comparison.snapshot_warnings}.`);
|
||||||
core.info('Proceeding...');
|
core.info('Proceeding...');
|
||||||
return comparison;
|
return comparison;
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -36,7 +36,7 @@ async function getComparison(
|
|||||||
headRef
|
headRef
|
||||||
})
|
})
|
||||||
if (retryOpts !== undefined && comparison.snapshot_warnings.trim() !== '') {
|
if (retryOpts !== undefined && comparison.snapshot_warnings.trim() !== '') {
|
||||||
if (retryOpts.retryUntil > Date.now()) {
|
if (retryOpts.retryUntil < Date.now()) {
|
||||||
core.info(
|
core.info(
|
||||||
`Retry timeout exceeded. Snapshot warnings still present: ${comparison.snapshot_warnings}.`
|
`Retry timeout exceeded. Snapshot warnings still present: ${comparison.snapshot_warnings}.`
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user