mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-09-26 18:35:43 +00:00
Various fixes
This commit is contained in:
@@ -189,8 +189,8 @@ public final class FilePath {
|
||||
return r;
|
||||
}
|
||||
|
||||
public FilePath resolveTildeHome(String dir) {
|
||||
return value.startsWith("~") ? FilePath.of(value.replace("~", dir)) : this;
|
||||
public FilePath resolveTildeHome(FilePath dir) {
|
||||
return value.startsWith("~") ? FilePath.of(value.replace("~", dir.toString())) : this;
|
||||
}
|
||||
|
||||
public List<String> split() {
|
||||
|
||||
Reference in New Issue
Block a user