Skip to content

Commit

Permalink
Merge branch 'main' into wtang/pbtc
Browse files Browse the repository at this point in the history
  • Loading branch information
wendytang authored Feb 20, 2025
2 parents 13a1e91 + 3af2bf8 commit b9929d1
Show file tree
Hide file tree
Showing 108 changed files with 15,180 additions and 1,810 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ tmp/
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

Expand Down
7 changes: 5 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

cd ui/desktop && npx lint-staged
# Only auto-format desktop TS code if relevant files are modified
if git diff --cached --name-only | grep -q "^ui/desktop/"; then
. "$(dirname -- "$0")/_/husky.sh"
cd ui/desktop && npx lint-staged
fi
Loading

0 comments on commit b9929d1

Please sign in to comment.