Skip to content

Commit 1ccef57

Browse files
mmazasmmazas
authored andcommitted
Fixed wrong excludes management.
Signed-off-by: mmazas <[email protected]>
1 parent cfa2f13 commit 1ccef57

File tree

1 file changed

+1
-1
lines changed
  • plexus-compilers/plexus-compiler-csharp/src/main/java/org/codehaus/plexus/compiler/csharp

1 file changed

+1
-1
lines changed

plexus-compilers/plexus-compiler-csharp/src/main/java/org/codehaus/plexus/compiler/csharp/CSharpCompiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ protected static Set<String> getSourceFilesForSourceRoot(CompilerConfiguration c
781781

782782
if (excludes != null && !excludes.isEmpty()) {
783783
String[] exclStrs = excludes.toArray(new String[excludes.size()]);
784-
scanner.setIncludes(exclStrs);
784+
scanner.setExcludes(exclStrs);
785785
}
786786

787787
scanner.scan();

0 commit comments

Comments
 (0)