Skip to content

Commit b5ad4f3

Browse files
committed
Prints file being uploaded to Github
1 parent 42b3f70 commit b5ad4f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ func uploadFile(uploadURL, path string) {
124124
return
125125
}
126126

127+
log.Printf("Uploading %s...\n", file.Name())
127128
body, err := doRequest("POST", uploadURL+"?name="+file.Name(), "application/octet-stream", file, size)
128129
if err != nil {
129130
log.Printf("Error: %s\n", err.Error())

0 commit comments

Comments
 (0)