Skip to content

Commit 67b9781

Browse files
committed
Fixed complier
1 parent 24d08ee commit 67b9781

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666
<build>
6767
<plugins>
68-
68+
6969
<plugin>
7070
<groupId>org.apache.maven.plugins</groupId>
7171
<artifactId>maven-shade-plugin</artifactId>

src/main/java/cucumber/report/json/compiler/JRC.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ private void generateFeatureMapForNode (JsonNode node){
3434
feature.put("description", node.get("description").toString());
3535
feature.put("keyword", node.get("keyword").toString());
3636
feature.put("uri", node.get("uri").toString());
37-
if (node.get("tags").toString() != null) feature.put("tags", node.get("tags").toString());
37+
if (node.get("tags") != null) {
38+
feature.put("tags", node.get("tags").toString());
39+
}
3840
featureMap.put(node.get("id").toString(), feature);
3941
}
4042
}
@@ -152,7 +154,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
152154
writeCompiledReport(writeCompiledReportsToFolder);
153155
}
154156
catch (Exception e){
155-
System.out.println(e.getStackTrace().toString());
157+
System.out.println(e.toString());
156158
}
157159
}
158160
}

0 commit comments

Comments
 (0)