diff --git a/lib.go b/lib.go index 6b29278..5ecfdf6 100644 --- a/lib.go +++ b/lib.go @@ -119,7 +119,7 @@ func StartCwtch(appDir string, torPath string) int { } func _startCwtch(appDir string, torPath string) { - log.Infof("application: %v eventHandler: %v acn: %v", application, eventHandler, globalACN) + log.Infof("application: %v eventHandler: %v", application, eventHandler) if application != nil { log.Infof("_startCwtch detected existing application; resuming instead of relaunching") diff --git a/quality.sh b/quality.sh index 81c61d9..5262cc6 100755 --- a/quality.sh +++ b/quality.sh @@ -3,10 +3,13 @@ echo "Checking code quality (you want to see no output here)" echo "" +echo "Vetting:" +go list ./... | xargs go vet + echo "" echo "Linting:" -go list ./... | xargs golint +staticcheck ./... echo "Time to format" @@ -18,4 +21,4 @@ ineffassign . # misspell (https://github.com/client9/misspell/cmd/misspell) echo "Checking for misspelled words..." -misspell . | grep -v "vendor/" | grep -v "go.sum" | grep -v ".idea" +misspell . | grep -v "testing/" | grep -v "vendor/" | grep -v "go.sum" | grep -v ".idea" diff --git a/utils/settings.go b/utils/settings.go index 7ff0b53..4f15a07 100644 --- a/utils/settings.go +++ b/utils/settings.go @@ -40,7 +40,7 @@ type GlobalSettings struct { UIColumnModePortrait string UIColumnModeLandscape string DownloadPath string - AllowAdvancedTorConfig bool + AllowAdvancedTorConfig bool CustomTorrc string UseCustomTorrc bool UseExternalTor bool