fixed chopped directories names.

This commit is contained in:
gnembon committed 2021-03-20 17:39:37 -03:00
1 parent 1a47f4333f
commit ecb578bf49
1 file changed
+1 -1
@@ -258,7 +258,7 @@ public class FileArgument
close();
}
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);
}