Skip to content

Commit

Permalink
Update pre-commit closes #1
Browse files Browse the repository at this point in the history
Added error handling to ignore errors if directores are not present to git add
  • Loading branch information
Agent6-6-6 committed Feb 16, 2019
1 parent 8649d88 commit 03825a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ python .git/hooks/pre-commit-XML.py
git add --update

# this updates the commit for any files added by the scripts within the tracked files/directories
git add -- ./*.VBA
git add -- ./*.XML
git add -- ./*.VBA || :
git add -- ./*.XML || :

0 comments on commit 03825a6

Please sign in to comment.