Excluded paths in nested configurations seem to resolve to invalid paths #4765
Labels
bug
Unexpected and reproducible misbehavior.
integration
Issues related to integration of SwiftLint into toolchains.
New Issue Checklist
Describe the bug
Exluded paths in nested configurations currently do not seem to work.
Environment
swiftlint version
to be sure)? 50.3If so, paste their relative paths and respective contents. -> See below
xcodebuild -version
)? 14.1I created a small Test:
yml at TestFolder/.swiftlint.yml
yml at TestFolder/SubFolder/.swiflint.yml
Contents of testFile.swift:
The result being that if SwiftLint is run in
TestFolder
the file does not get excluded but if it is run inSubFolder
it is excludedI used the debugger with the current master and the excluded paths for the child resolve to
TestFolder/SubFolder/SubFolder/testFile.swift
instead ofTestFolder/SubFolder/testFile.swift
which causes the file to not be skipped inConfiguration+CommandLine
groupFiles
. But I don't know if this is caused by a code issue or user error on my side.The text was updated successfully, but these errors were encountered: