Skip to content

Commit

Permalink
Check build source actually exists (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
markelliot authored Feb 24, 2022
1 parent a620d34 commit fd24aa3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ public void taskAction() {
getProject()
.allprojects(
proj -> {
if (proj.getBuildscript().getSourceFile() != null) {
setNewPluginVersions(
proj.getBuildscript().getSourceFile(), pluginUpdates);
File sourceFile = proj.getBuildscript().getSourceFile();
if (sourceFile != null && sourceFile.exists()) {
setNewPluginVersions(sourceFile, pluginUpdates);
}
});
}
Expand Down

0 comments on commit fd24aa3

Please sign in to comment.