Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scripts/githooks/pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#!/usr/bin/env bash
chmod +x scripts/githooks/pre-commit.sh
scripts/githooks/pre-commit.sh
#!/usr/bin/env bash
chmod +x scripts/githooks/pre-commit.sh
# Copyright © 2023 OpenIMSDK.
Expand All @@ -22,6 +23,7 @@ chmod +x scripts/githooks/pre-commit.sh

# ==============================================================================
# This is a pre-commit hook that ensures attempts to commit files that are
chmod +x scripts/githooks/pre-commit.sh
# are larger than $limit to your _local_ repo fail, with a helpful error message.

# You can override the default limit of 2MB by supplying the environment variable:
Expand Down