From 15b66935419089ce465f5d4d6ac159a7aaa76cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 30 Jul 2016 20:07:35 +0200 Subject: [PATCH] Adjust the sanity check to path length 4 --- helpers/path.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/path.go b/helpers/path.go index 91017d513..3c0d530f2 100644 --- a/helpers/path.go +++ b/helpers/path.go @@ -468,7 +468,7 @@ func FindCWD() (string, error) { func SymbolicWalk(fs afero.Fs, root string, walker filepath.WalkFunc) error { // Sanity check - if len(root) < 5 { + if len(root) < 4 { return fmt.Errorf("Path to short, cannot walk the root: %s", root) }