summaryrefslogtreecommitdiffhomepage
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/filesystem.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/filesystem.go b/source/filesystem.go
index 5b47b7abf..7873b47f1 100644
--- a/source/filesystem.go
+++ b/source/filesystem.go
@@ -105,7 +105,7 @@ func (f *Filesystem) captureFiles() {
if err != nil {
jww.ERROR.Println(err)
- if err == helpers.WalkRootTooShortError {
+ if err == helpers.ErrWalkRootTooShort {
panic("The root path is too short. If this is a test, make sure to init the content paths.")
}
}