Fix logging of ACN
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
6ad7a41b35
commit
0eb7a91d26
2
lib.go
2
lib.go
|
@ -119,7 +119,7 @@ func StartCwtch(appDir string, torPath string) int {
|
||||||
}
|
}
|
||||||
|
|
||||||
func _startCwtch(appDir string, torPath string) {
|
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 {
|
if application != nil {
|
||||||
log.Infof("_startCwtch detected existing application; resuming instead of relaunching")
|
log.Infof("_startCwtch detected existing application; resuming instead of relaunching")
|
||||||
|
|
|
@ -3,10 +3,13 @@
|
||||||
echo "Checking code quality (you want to see no output here)"
|
echo "Checking code quality (you want to see no output here)"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
echo "Vetting:"
|
||||||
|
go list ./... | xargs go vet
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Linting:"
|
echo "Linting:"
|
||||||
|
|
||||||
go list ./... | xargs golint
|
staticcheck ./...
|
||||||
|
|
||||||
|
|
||||||
echo "Time to format"
|
echo "Time to format"
|
||||||
|
@ -18,4 +21,4 @@ ineffassign .
|
||||||
|
|
||||||
# misspell (https://github.com/client9/misspell/cmd/misspell)
|
# misspell (https://github.com/client9/misspell/cmd/misspell)
|
||||||
echo "Checking for misspelled words..."
|
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"
|
||||||
|
|
|
@ -40,7 +40,7 @@ type GlobalSettings struct {
|
||||||
UIColumnModePortrait string
|
UIColumnModePortrait string
|
||||||
UIColumnModeLandscape string
|
UIColumnModeLandscape string
|
||||||
DownloadPath string
|
DownloadPath string
|
||||||
AllowAdvancedTorConfig bool
|
AllowAdvancedTorConfig bool
|
||||||
CustomTorrc string
|
CustomTorrc string
|
||||||
UseCustomTorrc bool
|
UseCustomTorrc bool
|
||||||
UseExternalTor bool
|
UseExternalTor bool
|
||||||
|
|
Reference in New Issue