Skip to content

Commit

Permalink
style(code): linting and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 committed Sep 9, 2021
1 parent dfbeaf7 commit 0617c86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gitapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ source $DIR/lib/forgit.sh
function exec_hook() {
command=($2)
for EXT in "sh" "py"
do
do
if [[ -f "$GITAPPER_HOOKS/$1-${command[0]}.$EXT" ]]; then
if [[ $EXT == "sh" ]]; then
. "$GITAPPER_HOOKS/$1-${command[0]}.$EXT" "$GIT" "$2 $3"
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ In this repository you can find various hooks with different requirements and us
* Branch picker when no branch is passed will use Forgit with FZF
* Pre-Clean
* If no file passed will use the Forgit clean with FZF
* Pre-commit
* Pre-Commit
* Validate the commit if `-m` parameter is defined following [ConventionalCommits](https://www.conventionalcommits.org/en/v1.0.0)
* Pre-Diff
* If no file passed will use the Forgit diff with FZF
Expand Down

0 comments on commit 0617c86

Please sign in to comment.