Skip to content

Commit

Permalink
Fix return value of readResources
Browse files Browse the repository at this point in the history
  • Loading branch information
rPraml committed Nov 23, 2023
1 parent 4c0e7cf commit 33a356c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ boolean readInitResources() {
}

/**
* Read all the migration resources (SQL scripts) returning true if there are versions.
* Read all the migration resources (SQL scripts and JDBC migrations) returning true if there are versions.
*/
boolean readResources() {
if (readFromIndex()) {
Expand All @@ -55,7 +55,7 @@ boolean readResources() {
}
readJdbcMigrations();
Collections.sort(versions);
return versions.isEmpty();
return !versions.isEmpty();
}

/**
Expand Down

0 comments on commit 33a356c

Please sign in to comment.