GP-781 corrected handling of scriptPaths

This commit is contained in:
ghidra1 2021-03-19 10:36:31 -04:00
parent 33bba9e614
commit 438827ddfe

View file

@ -671,6 +671,9 @@ public class HeadlessAnalyzer {
} }
private List<String> parseScriptPaths(List<String> scriptPaths) { private List<String> parseScriptPaths(List<String> scriptPaths) {
if (scriptPaths == null) {
return null;
}
List<String> parsedScriptPaths = new ArrayList<>(); List<String> parsedScriptPaths = new ArrayList<>();
for (String path : scriptPaths) { for (String path : scriptPaths) {
ResourceFile pathFile = Path.fromPathString(path); ResourceFile pathFile = Path.fromPathString(path);