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
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;
}