Add SonarQube #22

Merged
luketainton merged 6 commits from sonar into main 2022-08-13 20:02:15 +00:00
Showing only changes of commit 8c9e9fe2cc - Show all commits

View File

@@ -4,7 +4,7 @@ import "testing"
func TestGetCurrentIP(t *testing.T) { func TestGetCurrentIP(t *testing.T) {
myip := getLocalIP() myip := getLocalIP()
if myip == nil { if myip == "" {
t.Log("could not retrieve current IP") t.Log("could not retrieve current IP")
t.Fail() t.Fail()
} }