Hi Dean,
since 0.7.1 I get runtime error: invalid memory address or nil pointer dereference
[2016-12-29 12:42:22][ERROR: input.scriptfilter] Code 1: ?
12:42:22 workflow.go:705: -------- Secure SHell/0.7.1 (AwGo/0.5.0) ---------
12:42:22 update.go:153: 32m since last check for update
12:42:22 assh.go:338: query=, username=, port=0
12:42:22 update.go:141: Latest release: 0.7.1
12:42:22 sources-config.go:94: [source/load/config] 1 host(s) in '~/.ssh/config'
12:42:22 sources-known.go:37: [source/load/known_hosts] 148 host(s) in 'known_hosts'
12:42:22 sources-history.go:76: [source/load/history] 20 host(s) in 'history'
12:42:22 sources-config.go:94: [source/load/config] 0 host(s) in '/etc/ssh'
12:42:22 sources-hosts.go:37: [source/load/hosts] 3 host(s) in '/etc/hosts'
12:42:22 workflow.go:711: ------------------ FATAL ERROR -------------------
12:42:22 workflow.go:712: runtime error: invalid memory address or nil pointer dereference : goroutine 1 [running]:
runtime/debug.Stack(0xc420053698, 0x1, 0x1)
/usr/local/opt/go/libexec/src/runtime/debug/stack.go:24 +0x79
gogs.deanishe.net/deanishe/awgo.(*Workflow).Run.func1(0xc4201101c0)
/Users/daj/src/gogs.deanishe.net/deanishe/awgo/workflow.go:712 +0x12b
panic(0x2a70c0, 0xc4200160d0)
/usr/local/opt/go/libexec/src/runtime/panic.go:458 +0x243
github.com/deanishe/alfred-ssh.(*Deduplicator).IsDuplicate(0xc420053920, 0x0, 0x0, 0x0)
/Users/daj/src/github.com/deanishe/alfred-ssh/hosts.go:61 +0x33
github.com/deanishe/alfred-ssh.FilterDuplicateHosts(0xc4200a3500, 0xac, 0x150, 0xa7, 0xc420166d50, 0x3)
/Users/daj/src/github.com/deanishe/alfred-ssh/hosts.go:73 +0xb6
github.com/deanishe/alfred-ssh.Sources.Hosts(0xc42001b200, 0x5, 0x8, 0x4, 0x5, 0xc42001b200)
/Users/daj/src/github.com/deanishe/alfred-ssh/sources.go:36 +0x251
main.loadHosts(0xc42001cbd0, 0x0, 0xc420053d50, 0x3)
/Users/daj/src/github.com/deanishe/alfred-ssh/cmd/assh/assh.go:553 +0x3a5
main.runSearch(0xc42001cbd0)
/Users/daj/src/github.com/deanishe/alfred-ssh/cmd/assh/assh.go:351 +0x30b
main.run()
/Users/daj/src/github.com/deanishe/alfred-ssh/cmd/assh/assh.go:429 +0xc0
gogs.deanishe.net/deanishe/awgo.(*Workflow).Run(0xc4201101c0, 0x31ce98)
/Users/daj/src/gogs.deanishe.net/deanishe/awgo/workflow.go:724 +0x3cc
main.main()
/Users/daj/src/github.com/deanishe/alfred-ssh/cmd/assh/assh.go:573 +0x39
12:42:22 workflow.go:713: ---------------- END STACK TRACE -----------------
12:42:22 feedback.go:464: Sent 1 results to Alfred
12:42:22 workflow.go:870: [ERROR] runtime error: invalid memory address or nil pointer dereference
12:42:22 workflow.go:873: Get help at https://github.com/deanishe/alfred-ssh
12:42:22 workflow.go:908: ---------------------- 5ms -----------------------