File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1313 hooks :
1414 - id : shfmt
1515 types : [text]
16- files : ^(bash_completion(\.d/[^/]+\.bash)?|completions/.+|test/(config/bashrc|fallback/update-fallback-links|runLint|update-test-cmd-list)|.+\.sh(\.in)?)$
16+ files : ^(bash_completion(\.d/[^/]+\.bash)?|completions/.+|test/(config/bashrc|fixtures/.+/bin/.+| fallback/update-fallback-links|runLint|update-test-cmd-list)|.+\.sh(\.in)?)$
1717 exclude : ^completions/(\.gitignore|Makefile.*)$
1818
1919 - repo : https://github.com/shellcheck-py/shellcheck-py
2222 - id : shellcheck
2323 args : [-f, gcc]
2424 types : [text]
25- files : ^(bash_completion(\.d/[^/]+\.bash)?|completions/.+|test/(config/bashrc|fallback/update-fallback-links|runLint|update-test-cmd-list)|.+\.sh(\.in)?)$
25+ files : ^(bash_completion(\.d/[^/]+\.bash)?|completions/.+|test/(config/bashrc|fixtures/.+/bin/.+| fallback/update-fallback-links|runLint|update-test-cmd-list)|.+\.sh(\.in)?)$
2626 exclude : ^completions/(\.gitignore|Makefile.*)$
2727 require_serial : false # We disable SC1090 anyway, so parallel is ok
2828
Original file line number Diff line number Diff line change 1- #! /bin/sh
1+ #! /bin/bash
22
3- if [ " $1 " = -e ] && [ " $2 " = mocksrv ]; then
3+ if [[ $1 == -e ]] && [[ $2 == " mocksrv" ] ]; then
44 echo " Header line"
55 echo " /test/path"
66 echo " /test/path2"
You can’t perform that action at this time.
0 commit comments