Skip to content

Commit

Permalink
fix build preventing warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stolsky committed Nov 21, 2023
1 parent 0ab0bdc commit 60c55ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pathfinder/classes/Worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class Worker {
}

// TODO make static and make use of "from" and "to"
find_random_position(from?: number, to?: number): Position {
find_random_position(/* from?: number, to?: number */): Position {
const x = Math.floor(random(1, this.get_grid().width - 2))
const y = Math.floor(random(1, this.get_grid().height - 2))
return { x, y }
Expand Down
2 changes: 1 addition & 1 deletion tests/pathfinder/task.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
describe,
expect,
// expect,
it
} from 'vitest'

Expand Down

0 comments on commit 60c55ec

Please sign in to comment.