Skip to content

Commit

Permalink
Fix long-form Vineflower log and thread arguments not getting recogni…
Browse files Browse the repository at this point in the history
…zed (#157)
  • Loading branch information
shartte authored Apr 28, 2024
1 parent b15b5af commit b483eb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ private static TaskProvider<? extends Runtime> createDecompile(NeoFormRuntimeSpe

// Filter out decompiler arguments that aren't related to its output (log-level and thread-count)
List<String> decompilerArgs = new ArrayList<>(function.getArgs());
decompilerArgs.removeIf(arg -> arg.startsWith("-log=") || arg.startsWith("-thr="));
decompilerArgs.removeIf(arg -> arg.startsWith("--log-level") || arg.startsWith("-log=") || arg.startsWith("--thread-count") || arg.startsWith("-thr="));

// Retrieve the default memory size from the JVM arguments configured in NeoForm
String defaultMaxMemory = "4g";
Expand Down

0 comments on commit b483eb1

Please sign in to comment.