Closed Cykelero closed 2 months ago
When --report-exclude contains a pipe-separated list, it has no effect; no item from the list is taken into account.
--report-exclude
For example, this properly excludes FileA: --report-exclude 'FileA.swift'
--report-exclude 'FileA.swift'
But this excludes neither FileA, or FileB: --report-exclude 'FileA.swift|FileB.swift'
--report-exclude 'FileA.swift|FileB.swift'
Of note, this was still working as expected as of version 2.17.1.
2.18.0 updated the argument format to match swift-argument-parser. This was explained in the release notes: https://github.com/peripheryapp/periphery/blob/master/CHANGELOG.md#2180-2024-01-21.
swift-argument-parser
When
--report-exclude
contains a pipe-separated list, it has no effect; no item from the list is taken into account.For example, this properly excludes FileA:
--report-exclude 'FileA.swift'
But this excludes neither FileA, or FileB:
--report-exclude 'FileA.swift|FileB.swift'
Of note, this was still working as expected as of version 2.17.1.