mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: format Go more aggressively
This commit is contained in:
+1
-3
@@ -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