Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Pre-Commit Hook: Convert Line Endings to LF #87

Merged
merged 8 commits into from
Oct 15, 2024

Conversation

ruokun-niu
Copy link
Contributor

Description

Previous, after setting up the pre-commit hook and when I do a git commit, I will get the following error: fatal: cannot run .githooks/pre-commit: No such file or directory.

This disappeared after I executed dos2unix on the pre-commit file.

Also updated the pre-commit hook to check the source components that are written in Rust.

Type of change

  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Drasi (issue link optional).

Fixes: #issue_number

@ruokun-niu ruokun-niu merged commit 3b88274 into drasi-project:main Oct 15, 2024
30 checks passed
@ruokun-niu ruokun-niu deleted the test-githook branch October 16, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants