Skip to content

Commit

Permalink
Check if episode file is generated before trying to add if-exists att…
Browse files Browse the repository at this point in the history
…ributes to it. Fixes #107.
  • Loading branch information
highsource committed May 11, 2019
1 parent a4d3955 commit d87e47b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ private void setupEpisodePackage() {
}

private void addIfExistsToEpisodeSchemaBindings() throws MojoExecutionException {
if (!isAddIfExistsToEpisodeSchemaBindings()) {
if (!getEpisode() || !isAddIfExistsToEpisodeSchemaBindings()) {
return;
}
final File episodeFile = getEpisodeFile();
Expand Down

0 comments on commit d87e47b

Please sign in to comment.