Skip to content

Commit ed0e7eb

Browse files
committed
HACK: change the path arc separator
We match a string by a subpath. Because we cannot formulate the string using composition, add the expected spelling.
1 parent 9cce723 commit ed0e7eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/SourceKittenFramework/Module.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public struct Module {
5050
return nodeModuleName == spmName
5151
}
5252
let inputs = node["inputs"]?.array(of: String.self) ?? []
53-
return inputs.allSatisfy({ !$0.contains(".build/checkouts/") }) && !nodeModuleName.hasSuffix("Tests")
53+
return inputs.allSatisfy({ !$0.contains(".build\\checkouts\\") }) && !nodeModuleName.hasSuffix("Tests")
5454
}
5555

5656
guard let moduleCommand = commands.first(where: matchModuleName) else {

0 commit comments

Comments
 (0)