Clean up unused variable in check_gofmt.sh
This commit is contained in:
parent
49659347aa
commit
81ac3bfeec
2
Makefile
2
Makefile
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user