aboutsummaryrefslogtreecommitdiffhomepage
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rw-r--r--helpers/general.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/general.go b/helpers/general.go
index 35e35a7e0..859d1ead7 100644
--- a/helpers/general.go
+++ b/helpers/general.go
@@ -328,7 +328,7 @@ func PrintFs(fs afero.Fs, path string, w io.Writer) {
}
afero.Walk(fs, path, func(path string, info os.FileInfo, err error) error {
- fmt.Println(path)
+ fmt.Fprintln(w, filepath.ToSlash(path))
return nil
})
}