mirror of
https://github.com/coredns/coredns.git
synced 2025-11-05 03:33:12 -05:00
9 lines
192 B
Plaintext
9 lines
192 B
Plaintext
|
|
#!/bin/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
|