aboutsummaryrefslogtreecommitdiffhomepage
path: root/livereload
diff options
context:
space:
mode:
authorAnthony Fok <[email protected]>2016-03-21 14:25:00 +0800
committerAnthony Fok <[email protected]>2016-03-21 14:25:00 +0800
commitbec1ac7b3308d84add3574cea3ebab491ffb2eb6 (patch)
tree982cf8445d1c55d159352b50fe6767cf0d23b3c1 /livereload
parent9323707b32a49ac99f56271e041399eaa90dd1cc (diff)
downloadhugo-bec1ac7b3308d84add3574cea3ebab491ffb2eb6.tar.gz
hugo-bec1ac7b3308d84add3574cea3ebab491ffb2eb6.zip
livereload: Run go fmt on connection.go
See #1998 and commit bafb771
Diffstat (limited to 'livereload')
-rw-r--r--livereload/connection.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/livereload/connection.go b/livereload/connection.go
index 154c823ff..6e31b1baf 100644
--- 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" ],