Skip to content

Commit

Permalink
fix: npe (#5339)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylong authored Jan 18, 2023
2 parents be9719f + 71ffdcf commit a018cc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ private void processDependencies(JsonObject json, File baseDir, File rootFile,
continue;
}

version = jo.getString("version");
version = jo.getString("version", "");
optional = jo.getBoolean("optional", false);
isDev = jo.getBoolean("dev", false);
} else {
Expand Down

0 comments on commit a018cc3

Please sign in to comment.