Skip to content

Commit

Permalink
[REF] cleanup: useless break and continue statements
Browse files Browse the repository at this point in the history
Task: 4276932
Part-of: #5115
Signed-off-by: Vincent Schippefilt (vsc) <[email protected]>
  • Loading branch information
hokolomopo committed Oct 22, 2024
1 parent 824dcbb commit 3bf2bdc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ export class FindAndReplaceStore extends SpreadsheetStore implements HighlightPr
...sheetIds.slice(activeSheetIndex + 1),
...sheetIds.slice(0, activeSheetIndex),
];
break;
case "activeSheet":
return [this.getters.getActiveSheetId()];
case "specificRange":
Expand Down
1 change: 0 additions & 1 deletion src/plugins/ui_feature/ui_sheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ export class SheetUIPlugin extends UIPlugin {
if (!isEqual(zone, newZone)) {
hasExpanded = true;
zone = newZone;
continue;
}
} while (hasExpanded);

Expand Down
1 change: 0 additions & 1 deletion tools/bundle_xml/bundle_xml_templates.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ function writeToFile(filepath, data) {
fs.writeFile(filepath, data, (err) => {
if (err) {
process.stdout.write(`Error while writing file ${filepath}: ${err}`);
return;
}
});
}
Expand Down

0 comments on commit 3bf2bdc

Please sign in to comment.