Skip to content

Commit

Permalink
fix: Check eslint github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
criss8X committed Mar 30, 2024
1 parent d3a0fe7 commit 7a49f57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx eslint "src/**/*.ts"
# npx eslint "src/**/*.ts"
npx commitlint --edit "$1"
4 changes: 4 additions & 0 deletions src/utils/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,10 @@ export function getLastReadEventIdFromRoom(
return null
}

const errors: string[] = []

errors.push("New error")

const eventReadUpTo = room.getEventReadUpTo(userId)

if (eventReadUpTo === null) {
Expand Down

0 comments on commit 7a49f57

Please sign in to comment.