Skip to content

Commit

Permalink
Merge pull request #2180 from lf-lang/conflict-check-src-only
Browse files Browse the repository at this point in the history
Reduced scope for conflicting main reactors check
  • Loading branch information
edwardalee authored Feb 3, 2024
2 parents 63ea131 + 2034990 commit 44ae349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/lflang/MainConflictChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public MainConflictChecker(FileConfig fileConfig) {
// files in the current package (which happens when we get the resources)
this.fileConfig = fileConfig;
try {
Files.walkFileTree(fileConfig.srcPkgPath, new PackageVisitor());
Files.walkFileTree(fileConfig.srcPath, new PackageVisitor());
} catch (IOException e) {
System.err.println("Error while checking for name conflicts in package.");
e.printStackTrace();
Expand Down

0 comments on commit 44ae349

Please # to comment.