Add a clarifying comment to a break.

This commit is contained in:
Chris Gavin 2021-11-17 15:52:36 +00:00
parent 215c4f5ff5
commit b9bd459b70
No known key found for this signature in database
GPG key ID: 07F950B80C27E4DA
3 changed files with 3 additions and 3 deletions

2
lib/upload-lib.js generated
View file

@ -311,7 +311,7 @@ async function waitForProcessing(repositoryNwo, sarifID, apiDetails, logger) {
switch (e.status) {
case 404:
logger.debug("Analysis is not found yet...");
break;
break; // Note this breaks from the case statement, not the outer loop.
default:
throw e;
}

File diff suppressed because one or more lines are too long

View file

@ -466,7 +466,7 @@ export async function waitForProcessing(
switch (e.status) {
case 404:
logger.debug("Analysis is not found yet...");
break;
break; // Note this breaks from the case statement, not the outer loop.
default:
throw e;
}