Skip to content

Commit

Permalink
clean run command a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 27, 2018
1 parent da9a50c commit 7cb2265
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -233,7 +233,12 @@ else if (scriptEntry.hasObject("path") && scriptEntry.getObject("path") != null)
dList definitions = dList.valueOf(raw_defintions.asString());
String[] definition_names = null;
try {
definition_names = script.getContainer().getString("definitions").split("\\|");
if (script != null && script.getContainer() != null) {
String str = script.getContainer().getString("definitions");
if (str != null) {
definition_names = str.split("\\|");
}
}
}
catch (Exception e) {
// TODO: less lazy handling
Expand Down

0 comments on commit 7cb2265

Please sign in to comment.