GT-3547 - Patch dir fix - review fixes

This commit is contained in:
dragonmacher 2020-02-24 11:00:51 -05:00
parent 87bda2b34d
commit 855955bb3d
3 changed files with 23 additions and 20 deletions

View file

@ -87,10 +87,10 @@ public class GhidraLauncher {
* the classpath.
*
* @param pathList The list of paths to add to
* @param patchDir The application installation directory
* @param patchDir The application installation directory; may be null
*/
private static void addPatchPaths(List<String> pathList, ResourceFile patchDir) {
if (!patchDir.exists()) {
if (patchDir == null || !patchDir.exists()) {
return;
}