diff --git a/Sources/MockingbirdGenerator/Parser/Operations/ExtractSourcesOperation.swift b/Sources/MockingbirdGenerator/Parser/Operations/ExtractSourcesOperation.swift index 6b51af39..eb779140 100644 --- a/Sources/MockingbirdGenerator/Parser/Operations/ExtractSourcesOperation.swift +++ b/Sources/MockingbirdGenerator/Parser/Operations/ExtractSourcesOperation.swift @@ -179,7 +179,7 @@ private class GlobSearchOperation: BasicOperation { override var description: String { "Glob Search" } override func run() throws { - guard shouldInclude(sourcePath: sourcePath.path, in: sourcePath.path.parent()).value else { + guard shouldInclude(sourcePath: sourcePath.path.absolute(), in: sourcePath.path.parent()).value else { log("Ignoring source path at \(sourcePath.path.absolute())") return }