Add a clarifying comment to a break.
This commit is contained in:
parent
215c4f5ff5
commit
b9bd459b70
3 changed files with 3 additions and 3 deletions
2
lib/upload-lib.js
generated
2
lib/upload-lib.js
generated
|
|
@ -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
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue