mirror of https://github.com/portainer/portainer
fix golang ci linter prehook (#8359)
parent
fed3d14adf
commit
adf92ce5e0
@ -0,0 +1,11 @@
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
cd api
|
||||
if golangci-lint run -c .golangci.yaml
|
||||
then
|
||||
echo "golangci-lint run successfully"
|
||||
else
|
||||
echo "golangci-lint run failed"
|
||||
exit 1
|
||||
fi
|
Loading…
Reference in new issue