Quote the last filename
This commit is contained in:
1 parent
9e63b4e8c7
commit
dde179f861
1 file changed
+1
-1
@@ -22,7 +22,7 @@ function lint_go {
|
|||||||
echo "${filename}: run gofmt -w ${filename}!"
|
echo "${filename}: run gofmt -w ${filename}!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
go tool vet ${filename} || result=$?
|
go tool vet "${filename}" || result=$?
|
||||||
|
|
||||||
# golint is completely optional. If you don't like it
|
# golint is completely optional. If you don't like it
|
||||||
# don't have it installed.
|
# don't have it installed.
|
||||||
|
|||||||
Reference in new issue
Block a user