forked from RamenDR/ramen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pre-commit.sh: refactor to make it easier to read
The mdl_version_test function was inserted in a place where it would be run before checking if mdl was installed or not. Now we have one function for each of the tools where a check is made if it exists and if it is of the right version and then the tool is run. Signed-off-by: Raghavendra Talur <raghavendra.talur@gmail.com>
- Loading branch information
1 parent
96b2cbe
commit 123e0cb
Showing
1 changed file
with
76 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters