Skip to content

Commit d3775c6

Browse files
committed
go/lint: fix filename comparison
1 parent 1968ccc commit d3775c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/lint-project.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if [[ "$OS_NAME" != "windows" ]]; then
2626
# Go 1.17 introduced a migration with build constraints
2727
# and they offer a migration with gofmt
2828
# See https://go.googlesource.com/proposal/+/master/design/draft-gobuild.md#transition for more details
29-
if [[ "$file" == "pkged.go" ]];
29+
if [[ "$file" == "./pkged.go" ]];
3030
then
3131
gofmt -s -w pkged.go
3232
fi

0 commit comments

Comments
 (0)