api: use fmt.Fprintln to write to os.Stderr

This commit is contained in:
Taylor Blau 2016-10-14 12:51:43 -06:00
parent cb80b9d526
commit bd0ca46ed6

@ -217,7 +217,7 @@ var warningOnce sync.Once
func legacyWarning() {
warningOnce.Do(func() {
fmt.Println(os.Stderr, "WARNING: Git LFS is using a deprecated API, which will be removed in v1.5.0.")
fmt.Println(os.Stderr, " Consider enabling the latest API by running: `git config lfs.batch true`.")
fmt.Fprintln(os.Stderr, "WARNING: Git LFS is using a deprecated API, which will be removed in v1.5.0.")
fmt.Fprintln(os.Stderr, " Consider enabling the latest API by running: `git config lfs.batch true`.")
})
}