From cb937200bc82ffa9d009677455e2b7050ff3a6ad Mon Sep 17 00:00:00 2001 From: crschnick Date: Wed, 12 Feb 2025 10:40:34 +0000 Subject: [PATCH] Fix shell dialect NPE --- core/src/main/java/io/xpipe/core/process/ShellDialect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/io/xpipe/core/process/ShellDialect.java b/core/src/main/java/io/xpipe/core/process/ShellDialect.java index 290a93ece..a546217d0 100644 --- a/core/src/main/java/io/xpipe/core/process/ShellDialect.java +++ b/core/src/main/java/io/xpipe/core/process/ShellDialect.java @@ -31,7 +31,7 @@ public interface ShellDialect { String getExecutableName(); default boolean isCompatibleTo(ShellDialect other) { - return other.equals(this); + return this.equals(other); } String getCatchAllVariable();