Skip to content

Commit

Permalink
pass progressbar.OptionSetWriter to progressBar
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhant-K-code committed Jun 25, 2024
1 parent 5ca6f8a commit 2d81b67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/store/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func importStore(

// Initialize progress bar
bar := progressbar.NewOptions(len(storeData.Tuples),
progressbar.OptionSetWriter(os.Stderr),
progressbar.OptionSetDescription("Importing tuples"),
progressbar.OptionShowCount(),
progressbar.OptionSetWidth(progressBarWidth),
Expand Down

0 comments on commit 2d81b67

Please sign in to comment.