mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
10 lines
265 B
Bash
Executable File
10 lines
265 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
echo "** presubmit/$(basename $0)"
|
|
|
|
# Check to make sure "testing" is not imported
|
|
if [[ $(go list -f '{{ join .Deps " "}}') == *" testing "* ]]; then
|
|
echo "** presubmit/$(basename $0): please remove any 'import \"testing\"'"
|
|
exit 1
|
|
fi
|