diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 5ee388994..e01712aa6 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -4,7 +4,7 @@ "Deps": [ { "ImportPath": "github.com/facchinm/go-serial", - "Rev": "b89db9f164e4ce33d2ddca93b5f8b1e29aff14a1" + "Rev": "3cfbd2fab741f7c9d238cb3bd17980110c81bd46" }, { "ImportPath": "github.com/facchinm/systray", diff --git a/seriallist_darwin.go b/seriallist_darwin.go index d9eb3026f..69809660a 100644 --- a/seriallist_darwin.go +++ b/seriallist_darwin.go @@ -1,6 +1,7 @@ package main import ( + "log" "os/exec" "strings" ) @@ -44,6 +45,7 @@ func associateVidPidWithPort(ports []OsSerialPort) []OsSerialPort { cmdOutMap := make(map[string]string) for _, element := range cmdOutSlice { + log.Println(element) if strings.Contains(element, "ID") || strings.Contains(element, "Manufacturer") { element = strings.TrimSpace(element) arr := strings.Split(element, ": ")