mirror of
https://github.com/bitcoin/bips.git
synced 2025-02-24 07:28:03 +01:00
Merge pull request #877 from kallewoof/linter-http-only
linter: avoid false positives such as C++ lambda exprs by only detect…
This commit is contained in:
commit
6a802329e4
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ ECODE=0
|
|||
FILES=""
|
||||
for fname in $(git diff --name-only HEAD $(git merge-base HEAD master)); do
|
||||
if [[ $fname == *.mediawiki ]]; then
|
||||
GRES=$(grep -n '](' $fname)
|
||||
GRES=$(grep -n '](http' $fname)
|
||||
if [ "$GRES" != "" ]; then
|
||||
if [ $ECODE -eq 0 ]; then
|
||||
>&2 echo "Github Mediawiki format writes link as [URL text], not as [text](url):"
|
||||
|
|
Loading…
Add table
Reference in a new issue