Skip to content
Snippets Groups Projects
Commit 0a1a1f74 authored by jez04's avatar jez04
Browse files

Merge branch 'main' into release

parents de8ef806 bccd3923
Branches release
No related merge requests found
......@@ -209,7 +209,7 @@ public class FixDirStructure {
private static void removeOneDirPath(Path dir) {
while (isOneDir(dir)) {
List<File> files = Arrays.asList(dir.toFile().listFiles()).stream().toList();
List<File> files = getFileListInProjectRoot(dir);
log.info(() -> "item in dirs count: " + files.size());
log.info(() -> files.stream().map(File::toString).collect(Collectors.joining(", ")));
Path insideProject = files.stream().filter(File::isDirectory).map(File::toPath).findFirst().orElse(null);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment