Skip to content

Commit

Permalink
[MNG-7894] Consumer pom should not expose local workspace directory (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet authored Oct 20, 2023
1 parent a35ed07 commit 9abaf3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mdo/writer-stax.vm
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public class ${className} {
}
serializer.writeEndElement();
#if ( $locationTracking )
if (dom.getInputLocation() instanceof InputLocation && dom.getChildren().isEmpty()) {
if (addLocationInformation && dom.getInputLocation() instanceof InputLocation && dom.getChildren().isEmpty()) {
serializer.writeComment(toString((InputLocation) dom.getInputLocation()));
}
#end
Expand Down

0 comments on commit 9abaf3a

Please sign in to comment.