Skip to content

Commit

Permalink
Remove the todo
Browse files Browse the repository at this point in the history
This todo has been moved to the localPersister
  • Loading branch information
ankur22 committed Jan 30, 2024
1 parent c9018c0 commit f161c6a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion common/screenshotter.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ func (s *screenshotter) screenshot(
}

// Save screenshot capture to file
// TODO: we should not write to disk here but put it on some queue for async disk writes
if path != "" {
if err := s.persister.Persist(path, bytes.NewBuffer(buf)); err != nil {
return nil, fmt.Errorf("saving screenshot")
Expand Down

0 comments on commit f161c6a

Please sign in to comment.