8 lines
141 B
Go
Raw Normal View History

2024-02-18 01:30:19 -08:00
package commands
import "strings"
func isNoActiveError(err error) bool {
return strings.Contains(err.Error(), "No active device found")
}