Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nonmem: avoid repeating a ReadDir call
filesToCleanup() calls afero.ReadDir() on the output directory for each pattern in parallelRegexesToRemove. The directory files aren't expected to change across iterations, so move the ReadDir() call outside the regex for loop.
- Loading branch information