Skip to content

Img Compressor csv log and console missing line for 1st item compressed #36

@philoushka

Description

@philoushka

Repro:

  • empty your imageoptimizer-cache.xml (not really required)
  • load a directory with n new img files
  • run the compressor console
  • view the console and csv log

Expected: n entries in the console output and csv log. All images are compressed.

Actual: n-1 entries in the console and csv log. All n images are compressed.

I noticed this while debugging in the console as well. It was the first item that isn't reported.

missing first log report console

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions