Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile2
-rw-r--r--commands/hugo.go2
-rw-r--r--hugolib/site.go2
-rw-r--r--watcher/batcher.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 9481b8fb0..bcd0863c1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -34,7 +34,7 @@ RUN go get github.com/stretchr/testify/assert \
&& go get golang.org/x/text/unicode/norm \
&& go get github.com/yosssi/ace \
&& go get github.com/spf13/nitro \
- && go get gopkg.in/fsnotify.v1
+ && go get github.com/fsnotify/fsnotify
COPY . /go/src/github.com/spf13/hugo
RUN go get -d -v github.com/spf13/hugo
diff --git a/commands/hugo.go b/commands/hugo.go
index ec77047a2..a10ae9c43 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -33,6 +33,7 @@ import (
"regexp"
+ "github.com/fsnotify/fsnotify"
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/spf13/fsync"
@@ -44,7 +45,6 @@ import (
jww "github.com/spf13/jwalterweatherman"
"github.com/spf13/nitro"
"github.com/spf13/viper"
- "gopkg.in/fsnotify.v1"
)
// MainSite represents the Hugo site to build. This variable is exported as it
diff --git a/hugolib/site.go b/hugolib/site.go
index 4cb65b7fc..14643fe0a 100644
--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -32,6 +32,7 @@ import (
"path"
"github.com/bep/inflect"
+ "github.com/fsnotify/fsnotify"
"github.com/spf13/afero"
"github.com/spf13/cast"
bp "github.com/spf13/hugo/bufferpool"
@@ -45,7 +46,6 @@ import (
jww "github.com/spf13/jwalterweatherman"
"github.com/spf13/nitro"
"github.com/spf13/viper"
- "gopkg.in/fsnotify.v1"
)
var _ = transform.AbsURL
diff --git a/watcher/batcher.go b/watcher/batcher.go
index 470863300..0b4083e81 100644
--- a/watcher/batcher.go
+++ b/watcher/batcher.go
@@ -16,7 +16,7 @@ package watcher
import (
"time"
- "gopkg.in/fsnotify.v1"
+ "github.com/fsnotify/fsnotify"
)
type Batcher struct {