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 29a159a commit 2bb4c2fCopy full SHA for 2bb4c2f
gradleutils-shared/src/main/java/net/minecraftforge/gradleutils/shared/EnhancedFlowAction.java
@@ -81,7 +81,7 @@ protected EnhancedFlowAction() { }
81
/// @return If the throwable's message contains the string
82
protected static boolean contains(Throwable e, String s) {
83
for (Throwable cause = e; cause != null; cause = cause.getCause()) {
84
- if (StringGroovyMethods.containsIgnoreCase(cause.getMessage(), s))
+ if (StringGroovyMethods.containsIgnoreCase(s, cause.getMessage()))
85
return true;
86
}
87
0 commit comments