fix
This commit is contained in:
+1
-1
@@ -500,7 +500,7 @@ function getComparison(baseRef, headRef, retryOpts) {
|
|||||||
});
|
});
|
||||||
if (retryOpts !== undefined &&
|
if (retryOpts !== undefined &&
|
||||||
comparison.snapshot_warnings.trim() !== '' &&
|
comparison.snapshot_warnings.trim() !== '' &&
|
||||||
retryOpts.retryUntil < Date.now()) {
|
retryOpts.retryUntil > Date.now()) {
|
||||||
core.info(comparison.snapshot_warnings);
|
core.info(comparison.snapshot_warnings);
|
||||||
core.info(`Retrying in ${retryOpts.retryDelay} seconds...`);
|
core.info(`Retrying in ${retryOpts.retryDelay} seconds...`);
|
||||||
yield delay(retryOpts.retryDelay * 1000);
|
yield delay(retryOpts.retryDelay * 1000);
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -38,7 +38,7 @@ async function getComparison(
|
|||||||
if (
|
if (
|
||||||
retryOpts !== undefined &&
|
retryOpts !== undefined &&
|
||||||
comparison.snapshot_warnings.trim() !== '' &&
|
comparison.snapshot_warnings.trim() !== '' &&
|
||||||
retryOpts.retryUntil < Date.now()
|
retryOpts.retryUntil > Date.now()
|
||||||
) {
|
) {
|
||||||
core.info(comparison.snapshot_warnings)
|
core.info(comparison.snapshot_warnings)
|
||||||
core.info(`Retrying in ${retryOpts.retryDelay} seconds...`)
|
core.info(`Retrying in ${retryOpts.retryDelay} seconds...`)
|
||||||
|
|||||||
Reference in New Issue
Block a user