fixed chopped directories names.
This commit is contained in:
1 parent
1a47f4333f
commit
ecb578bf49
1 file changed
+1
-1
@@ -258,7 +258,7 @@ public class FileArgument
|
|||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
if (type == Type.FOLDER)
|
if (type == Type.FOLDER)
|
||||||
return strings.map(s -> s.endsWith("/")?s.substring(0, s.length()-2):s);
|
return strings.map(s -> s.endsWith("/")?s.substring(0, s.length()-1):s);
|
||||||
return strings.map(FilenameUtils::removeExtension);
|
return strings.map(FilenameUtils::removeExtension);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user