fix: updated for refactor

This commit is contained in:
Klesh Wong 2023-04-22 01:07:23 +08:00
parent 8b1ef1c133
commit f249b3fe2b

View File

@ -77,7 +77,7 @@ check() {
# check headers # check headers
echo "** CHECK ASF HEADER **" echo "** CHECK ASF HEADER **"
HEADER="$(cat $SRC/.golangci-goheader.template)" HEADER="$(cat $SRC/backend/.golangci-goheader.template)"
test -n "$HEADER" test -n "$HEADER"
for FN in $(find "$SRC" -name '*.go'); do for FN in $(find "$SRC" -name '*.go'); do
if ! grep -qF "$HEADER" $FN; then if ! grep -qF "$HEADER" $FN; then