Title: Set stdout correctly by akshayjshah · Pull Request #232 · sqlc-dev/sqlc · GitHub
Open Graph Title: Set stdout correctly by akshayjshah · Pull Request #232 · sqlc-dev/sqlc
X Title: Set stdout correctly by akshayjshah · Pull Request #232 · sqlc-dev/sqlc
Description: The cmd.Do function takes a writer to use as standard out, but doesn't use it. Instead, there's a duplicate call to cobra.Command.SetErr. This patch replaces one of the duplicates with SetOut.
Open Graph Description: The cmd.Do function takes a writer to use as standard out, but doesn't use it. Instead, there's a duplicate call to cobra.Command.SetErr. This patch replaces one of the duplicates with SetOut.
X Description: The cmd.Do function takes a writer to use as standard out, but doesn't use it. Instead, there's a duplicate call to cobra.Command.SetErr. This patch replaces one of the duplicates with SetOut.
Opengraph URL: https://github.com/sqlc-dev/sqlc/pull/232
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e87ab814-d3e7-d0f8-bc26-23069363c9e0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9030:25EC2E:E209B4:12D8A9C:6A532BCD |
| html-safe-nonce | 5f0cdf41ba4b24fc771e9fdf294bc4b99bec10c2a4c3e0e1e651ac2052d84126 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDMwOjI1RUMyRTpFMjA5QjQ6MTJEOEE5Qzo2QTUzMkJDRCIsInZpc2l0b3JfaWQiOiIxMDA1MzU0NTU2MTc4MjQ2NjA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d612cd4128507c20e947c862d0c7fe452ae4d759aa2e88edad0d439b7ec0d6bc |
| hovercard-subject-tag | pull_request:360200515 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/sqlc-dev/sqlc/pull/232/files |
| twitter:image | https://avatars.githubusercontent.com/u/972790?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/972790?s=400&v=4 |
| og:image:alt | The cmd.Do function takes a writer to use as standard out, but doesn't use it. Instead, there's a duplicate call to cobra.Command.SetErr. This patch replaces one of the duplicates with SetOut. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git |
| octolytics-dimension-user_id | 136738596 |
| octolytics-dimension-user_login | sqlc-dev |
| octolytics-dimension-repository_id | 193160679 |
| octolytics-dimension-repository_nwo | sqlc-dev/sqlc |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 193160679 |
| octolytics-dimension-repository_network_root_nwo | sqlc-dev/sqlc |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width