We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3821766 commit 141cea7Copy full SHA for 141cea7
src/main/java/com/diffplug/gradle/eclipserunner/EquinoxLauncher.java
@@ -110,10 +110,10 @@ private File getPluginRequireSingle(String name) {
110
111
/** Sets the application arguments which will be passed to the runtime. */
112
public EquinoxLauncher setArgs(List<String> args) {
113
- // Filter arguments that where meant for the original launcher (eclipsec.exe)
+ // Filter --launcher.suppressErrors
114
List<String> filteredArgs = args.stream()
115
.filter(Objects::nonNull)
116
- .filter(arg -> !arg.startsWith("--launcher"))
+ .filter(arg -> !arg.equals("--launcher.suppressErrors"))
117
.collect(toList());
118
this.args = ImmutableList.copyOf(filteredArgs);
119
return this;
0 commit comments