From c5a93b44123eefe8dacd27967f213f44f11dcaeb Mon Sep 17 00:00:00 2001 From: crschnick Date: Sat, 13 Dec 2025 17:43:59 +0000 Subject: [PATCH] Fix absolute path check for sftp file systems --- core/src/main/java/io/xpipe/core/FilePath.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/io/xpipe/core/FilePath.java b/core/src/main/java/io/xpipe/core/FilePath.java index da492072c..11b2d41c4 100644 --- a/core/src/main/java/io/xpipe/core/FilePath.java +++ b/core/src/main/java/io/xpipe/core/FilePath.java @@ -74,7 +74,7 @@ public final class FilePath { } } - throw new IllegalArgumentException("Unable to determine root of " + value); + return FilePath.of("/"); } public Path toLocalPath() {