Various fixes

This commit is contained in:
crschnick
2025-08-20 11:47:51 +00:00
parent 3a6c95e352
commit da863a690a
5 changed files with 29 additions and 9 deletions
@@ -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() {