Skip to content

Missing directory results in difference even with filter and no-subdirs #1

@DanStory

Description

@DanStory

it seems even though I filter to a speific filename and skip subdirs it still thinks there is a difference (because a folder is missing in the right)

> dircompare  -l -r -d --reason --compare-content --skip-subdirs --filter openapi.json ./artifacts ./.temp/artifacts
Entries are different
total: 1, equal: 1, distinct: 0, only left: 0, only right: 0

According to the actual output, it should had been successful with no differences.

However, once I include "--whole-report" do I actually see the issue

> dircompare  -l -r -d -w --reason --compare-content --skip
-subdirs --filter openapi.json ./artifacts ./.temp/artifacts
[/] plugins -> missing (directory)
Entries are different
total: 2, equal: 1, distinct: 0, only left: 1, only right: 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions