Skip to content

Commit

Permalink
Fix linting errors???
Browse files Browse the repository at this point in the history
Not sure why these errors are appearing as I didn't touch these files???
  • Loading branch information
goetzrrGit committed Jun 5, 2024
1 parent 091ed0c commit b0b450f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/sequencing/form/SelectedCommand.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
}
}
function hasAncestorWithId(element: Element | null, id: string) {
function hasAncestorWithId(element: Element | null, id: string): boolean {
if (element === null) {
return false;
} else if (element.id === id) {
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/timeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ export function paginateNodes(
activityTreeExpansionMap: ActivityTreeExpansionMap,
depth = 1,
binSize = 100,
) {
): ActivityTreeNode[] {
if (nodes.length <= binSize) {
return nodes;
}
Expand Down

0 comments on commit b0b450f

Please sign in to comment.