Skip to content

Commit

Permalink
Ensure that basenames.lst is sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
psibre committed Jul 12, 2021
1 parent 0e9dbe7 commit c68a1d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class GenerateBasenamesList extends DefaultTask {
project.fileTree(wavDir).matching {
include this.includes.getOrElse('*').collect { it + '.wav' }
exclude this.excludes.getOrElse([]).collect { it + '.wav' }
}.each { wavFile ->
}.toSorted().each { wavFile ->
def basename = wavFile.name - '.wav'
def textFile = textDir.file("${basename}.txt").get().asFile
if (!textFile.canRead()) {
Expand Down

0 comments on commit c68a1d7

Please sign in to comment.