commit bec1ac7b3308d84add3574cea3ebab491ffb2eb6
parent 9323707b32a49ac99f56271e041399eaa90dd1cc
Author: Anthony Fok <foka@debian.org>
Date: Mon, 21 Mar 2016 14:25:00 +0800
livereload: Run go fmt on connection.go
See #1998 and commit bafb771
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/livereload/connection.go b/livereload/connection.go
@@ -33,7 +33,7 @@ func (c *connection) reader() {
if err != nil {
break
}
- if bytes.Contains(message, []byte(`"command":"hello"`)){
+ if bytes.Contains(message, []byte(`"command":"hello"`)) {
c.send <- []byte(`{
"command": "hello",
"protocols": [ "http://livereload.com/protocols/official-7" ],