diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-02-10 10:41:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-10 10:41:38 -0500 |
commit | 88ab83d4e04f2054713461c3f28d905b4c1c2ee2 (patch) | |
tree | 9a16fd35768ad78a6c28d85ad0191b3f9d6f03e4 /vendor/github.com/spf13/cobra/custom_completions.go | |
parent | 832639ca6d1d8004c46aaa4e6c021dfd5a314af3 (diff) | |
parent | 46b014bad5f1d471a2ebfd819dfdf33a184ea109 (diff) | |
download | podman-88ab83d4e04f2054713461c3f28d905b4c1c2ee2.tar.gz podman-88ab83d4e04f2054713461c3f28d905b4c1c2ee2.tar.bz2 podman-88ab83d4e04f2054713461c3f28d905b4c1c2ee2.zip |
Merge pull request #9298 from containers/dependabot/go_modules/github.com/spf13/cobra-1.1.2
Bump github.com/spf13/cobra from 1.1.1 to 1.1.2
Diffstat (limited to 'vendor/github.com/spf13/cobra/custom_completions.go')
-rw-r--r-- | vendor/github.com/spf13/cobra/custom_completions.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/spf13/cobra/custom_completions.go b/vendor/github.com/spf13/cobra/custom_completions.go index f9e88e081..fa060c147 100644 --- a/vendor/github.com/spf13/cobra/custom_completions.go +++ b/vendor/github.com/spf13/cobra/custom_completions.go @@ -527,13 +527,13 @@ func CompDebug(msg string, printToStdErr bool) { os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644) if err == nil { defer f.Close() - f.WriteString(msg) + WriteStringAndCheck(f, msg) } } if printToStdErr { // Must print to stderr for this not to be read by the completion script. - fmt.Fprintf(os.Stderr, msg) + fmt.Fprint(os.Stderr, msg) } } |