Skip to content

Commit

Permalink
Merge branch 'mosip:develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohandey authored Oct 23, 2024
2 parents 314fe69 + bf3ea94 commit 2420bd5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ public static void startTestRunner() {
if (files != null) {
Arrays.sort(files, (f1, f2) -> {
// Customize the comparison based on file names
if (f1.getName().contains("prerequisite")) {
if (f1.getName().toLowerCase().contains("prerequisite")) {
return -1; // f1 should come before f2
} else if (f2.getName().contains("prerequisite")) {
return 1; // f2 should come after f1
} else if (f2.getName().toLowerCase().contains("prerequisite")) {
return 1; // f2 comes before f1
}
return f1.getName().compareTo(f2.getName()); // default alphabetical order
});
Expand Down

0 comments on commit 2420bd5

Please sign in to comment.