From fa21208005a6532df5f4429c8f31feb277edf5a5 Mon Sep 17 00:00:00 2001 From: Joel Speed Date: Tue, 27 Nov 2018 12:08:00 +0000 Subject: [PATCH] Fix fsnotify import --- CHANGELOG.md | 1 + Gopkg.lock | 4 ++-- Gopkg.toml | 2 +- watcher.go | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c4cdef2..ab04d80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Changes since v2.2: +- Fix fsnotify import - Update README to reflect new repository ownership - Update CI scripts to separate linting and testing - Now using `gometalinter` for linting diff --git a/Gopkg.lock b/Gopkg.lock index ac492c0..bc4c28f 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -164,7 +164,7 @@ [[projects]] digest = "1:cb5b2a45a3dd41c01ff779c54ae4c8aab0271d6d3b3f734c8a8bd2c890299ef2" - name = "gopkg.in/fsnotify.v1" + name = "gopkg.in/fsnotify/fsnotify.v1" packages = ["."] pruneopts = "" revision = "836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6" @@ -197,7 +197,7 @@ "golang.org/x/oauth2/google", "google.golang.org/api/admin/directory/v1", "google.golang.org/api/googleapi", - "gopkg.in/fsnotify.v1", + "gopkg.in/fsnotify/fsnotify.v1", ] solver-name = "gps-cdcl" solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml index c4005e1..e064786 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -36,7 +36,7 @@ name = "google.golang.org/api" [[constraint]] - name = "gopkg.in/fsnotify.v1" + name = "gopkg.in/fsnotify/fsnotify.v1" version = "~1.2.0" [[constraint]] diff --git a/watcher.go b/watcher.go index bedb9f8..80297cc 100644 --- a/watcher.go +++ b/watcher.go @@ -8,7 +8,7 @@ import ( "path/filepath" "time" - "gopkg.in/fsnotify.v1" + fsnotify "gopkg.in/fsnotify/fsnotify.v1" ) func WaitForReplacement(filename string, op fsnotify.Op,