Skip to content

Commit

Permalink
skipper configuration does not need to be specified
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Miklosovic committed May 25, 2015
1 parent c027064 commit 3b900e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
*/
public class SkipperConfiguration extends Configuration {

private String plainAdoc = null;

/**
* When set, there will be simple adoc table with the report.
* @param plainAdoc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void on(@Observes BeforeSuite beforeSuite) {

File adocExportFile = null;

if (skipperConfiguration.getPlainAdoc() != null) {
if (!skipperConfiguration.getPlainAdoc().isEmpty()) {
adocExportFile = new File(reporterConfiguration.getFile().getParentFile(), skipperConfiguration.getPlainAdoc());
}

Expand Down

0 comments on commit 3b900e2

Please sign in to comment.