File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ Read more on [SemVer.org](http://semver.org).
76
76
77
77
[ Conventional commits src ] : https://conventionalcommits.org
78
78
[ Conventional commits badge ] : https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg
79
- [ Release img ] : https://img.shields.io/badge/release-1.0.2 -brightgreen.svg
79
+ [ Release img ] : https://img.shields.io/badge/release-1.0.3 -brightgreen.svg
80
80
[ Release src ] : https://github.com/nafigator/php-qa-hooks
81
81
[ pre-commit img ] : https://github.com/nafigator/git-hooks/raw/master/.images/pre-commit.jpg
82
82
[ License img ] : https://img.shields.io/badge/license-MIT-brightgreen.svg
Original file line number Diff line number Diff line change 3
3
"description" : " Git hooks for PHP commits QA." ,
4
4
"type" : " library" ,
5
5
"license" : " MIT" ,
6
- "version" : " 1.0.2 " ,
6
+ "version" : " 1.0.3 " ,
7
7
"authors" : [{
8
8
"name" : " Yancharuk Alexander" ,
9
9
"role" : " developer"
Original file line number Diff line number Diff line change @@ -17,9 +17,11 @@ cd ${PROJECT_PATH}/vendor/nafigator
17
17
18
18
cd - > /dev/null
19
19
20
- VERSION=1.0.2
20
+ VERSION=1.0.3
21
21
INTERACTIVE=$( git_config_bool check.php.colors ${PROJECT_PATH} )
22
22
23
+ shift $(( OPTIND- 1 ))
24
+
23
25
parse_options ${@ }
24
26
PARSE_RESULT=$?
25
27
Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ cd ${PROJECT_PATH}/vendor/nafigator
15
15
. bash-helpers/src/bash-helpers.sh
16
16
. php-qa-hooks/src/includes/pre-push.inc.sh
17
17
18
- VERSION=1.0.2
18
+ VERSION=1.0.3
19
19
INTERACTIVE=$( git_config_bool check.php.colors ${PROJECT_PATH} )
20
20
21
21
parse_options ${@ }
22
22
PARSE_RESULT=$?
23
23
24
+ shift $(( OPTIND- 1 ))
25
+
24
26
[[ ${PARSE_RESULT} = 1 ]] && exit 1
25
27
[[ ${PARSE_RESULT} = 2 ]] && usage_help && exit 2
26
28
You can’t perform that action at this time.
0 commit comments