Clean up unused variable in check_gofmt.sh

This commit is contained in:
Tim St. Clair 2016-10-18 17:07:58 -07:00
parent 49659347aa
commit 81ac3bfeec
No known key found for this signature in database
GPG Key ID: 434D16BCEF479EAB
2 changed files with 1 additions and 7 deletions

View File

@ -48,7 +48,7 @@ docker:
presubmit: vet
@echo ">> checking go formatting"
@./build/check_gofmt.sh .
@./build/check_gofmt.sh
@echo ">> checking file boilerplate"
@./build/check_boilerplate.sh

View File

@ -14,12 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Check usage.
if [ $# -ne 1 ]; then
echo "USAGE: check_gofmt <source directory>"
exit 1
fi
# Check formatting on non Godep'd code.
GOFMT_PATHS=$(find . -not -wholename "*.git*" -not -wholename "*Godeps*" -not -wholename "*vendor*" -not -name "." -type d)