Jelajahi Sumber

fix coverall script

Darien Raymond 7 tahun lalu
induk
melakukan
2b0196527d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      testing/coverage/coverall

+ 1 - 1
testing/coverage/coverall

@@ -28,7 +28,7 @@ if [ -f ${TEST_FILES[0]} ]; then
   test_package ""
 fi
 
-for DIR in $(find * -type d -not -path "*.git*"); do
+for DIR in $(find * -type d ! -path "*.git*" ! -path "*vendor*"); do
   TEST_FILES=($DIR/*_test.go)
   if [ -f ${TEST_FILES[0]} ]; then
     test_package $DIR