Skip to content

Commit 0a5c955

Browse files
committed
Bugfix: Avoid calc'ing duplicate dependency entries
This was causing Ubuntu users to get a erroneous JavaFX `.jar` files when running `package` Credit to @ERSUCC for finding the fix.
1 parent c3d43cd commit 0a5c955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/org/nlogo/build/NetLogoExtension.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ object NetLogoExtension extends AutoPlugin {
140140
val callers = if (miniNetLogoDeps.contains(module)) {
141141
Set[MiniModule]()
142142
} else {
143-
m.callers.map( (c) => miniturizeModule(c.caller) ).toSet
143+
m.callers.map((c) => miniturizeModule(c.caller)).toSet.filter(_ != module)
144144
}
145145
CalledModule(module, callers)
146146
})

0 commit comments

Comments
 (0)