api: use fmt.Fprintln to write to os.Stderr
This commit is contained in:
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`.")
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user