mirror of
https://github.com/coredns/coredns.git
synced 2026-02-08 08:23:09 -05:00
@@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "** presubmit/$(basename $0)"
|
||||
|
||||
if grep -lr "golang.org/x/net/context" "$@"; then
|
||||
echo "** presubmit/$(basename $0): please use std lib's 'context' instead"
|
||||
exit 1
|
||||
fi
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "** presubmit/$(basename $0)"
|
||||
|
||||
if grep -r '[[:blank:]]$' "$@"; then
|
||||
echo "** presubmit/$(basename $0): please remove any trailing white space"
|
||||
fi
|
||||
Reference in New Issue
Block a user