We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 18a2148 + e3ef7aa commit b760322Copy full SHA for b760322
hack/check.sh
@@ -18,7 +18,7 @@ echo "mode: count" > coverage.txt
18
# Standard $GO tooling behavior is to ignore dirs with leading underscors
19
for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path './Godeps*' -not -path './contrib*' -not -path './cmd/nash/vendor*' -not -path './research*' -type d);
20
do
21
- if ls $dir/*.go &> /dev/null; then
+ if ls $dir | grep '.*\.go$' &> /dev/null; then
22
$GO test -v -race -covermode=atomic -coverprofile="$dir/profile.tmp" "$dir"
23
if [ -f $dir/profile.tmp ]
24
then
0 commit comments