mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
chore: format Go more aggressively
This commit is contained in:
@ -34,9 +34,7 @@ func (pf *templateUploadFlags) stdin() bool {
|
||||
}
|
||||
|
||||
func (pf *templateUploadFlags) upload(cmd *cobra.Command, client *codersdk.Client) (*codersdk.UploadResponse, error) {
|
||||
var (
|
||||
content io.Reader
|
||||
)
|
||||
var content io.Reader
|
||||
if pf.stdin() {
|
||||
content = cmd.InOrStdin()
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user