GP-1211: Fixing bug in Application.getModuleOSFile()

This commit is contained in:
Ryan Kurtz 2021-09-09 18:31:58 -04:00
parent 9238203976
commit c48ec61a4f

View file

@ -480,7 +480,11 @@ public class Application {
exactFilename); exactFilename);
} }
throw new OSFileNotFoundException(exactFilename); if (file == null) {
throw new OSFileNotFoundException(exactFilename);
}
return file;
} }
private File findModuleFile(String subdirPath, String exactFilename) { private File findModuleFile(String subdirPath, String exactFilename) {