-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Unreachable code - Variable names using snake_case instead of CamelCase - Unused parameters - Redundant parenthesis - Shell-bang was not set correctly Any code after `t.Fatalf` is not executed, because this function stops execution. Signed-off-by: Aitor Pérez Cedres <acedres@vmware.com> Signed-off-by: Aitor Pérez Cedres <acedres@vmware.com> Co-authored-by: Luke Bakken <luke@bakken.io>
- Loading branch information
1 parent
2b29a8e
commit 32d6f86
Showing
4 changed files
with
13 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#/bin/bash | ||
#!/bin/bash | ||
echo $1 > VERSION | ||
sed -i -e "s/.*buildVersion = \"*.*/buildVersion = \"$1\"/" ./connection.go | ||
go fmt ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters