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).
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
Fixes: #issue_number