Skip to content
This repository has been archived by the owner on Dec 18, 2020. It is now read-only.

Commit

Permalink
Print upload id also with --wait flag on push (#103)
Browse files Browse the repository at this point in the history
* Print upload id also with --wait flag on push

* Add filename to output

* Fix typo
  • Loading branch information
Globegitter authored and tobstarr committed Jul 17, 2017
1 parent 300fee7 commit 1d76525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions push.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (source *Source) Push(client *phraseapp.Client, waitForResults bool) error
taskResult := make(chan string, 1)
taskErr := make(chan error, 1)

fmt.Print("Waiting for your file to be processed... ")
fmt.Printf("Upload ID: %s, filename: %s suceeded. Waiting for your file to be processed... ", upload.ID, upload.Filename)
spinner.While(func() {
result, err := getUploadResult(client, source.ProjectID, upload)
taskResult <- result
Expand All @@ -129,7 +129,7 @@ func (source *Source) Push(client *phraseapp.Client, waitForResults bool) error
}
} else {
fmt.Println("done!")
fmt.Printf("Check upload %s for information about processing results.\n", upload.ID)
fmt.Printf("Check upload ID: %s, filename: %s for information about processing results.\n", upload.ID, upload.Filename)
}

if Debug {
Expand Down

0 comments on commit 1d76525

Please sign in to comment.