Skip to content

Commit

Permalink
Update progress display
Browse files Browse the repository at this point in the history
  • Loading branch information
kishaningithub committed Mar 8, 2020
1 parent aae4d41 commit 2b3318c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/shopify-csv-download/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ func main() {
}

func progressHandler(state products.ProgressState) {
progressStateLineFormat := "Products downloaded: %d Products converted as CSV: %d"
logInTheSameLine(progressStateLineFormat, state.NoOfProductsDownloaded, state.NoOfProductsConvertedAsCSV)
progressStateLineFormat := "%d products downloaded..."
logInTheSameLine(progressStateLineFormat, state.NoOfProductsConvertedAsCSV)
}

func logWithNewLine(format string, args ...interface{}) {
Expand Down

0 comments on commit 2b3318c

Please sign in to comment.