Captain-P-Goldfish commented on code in PR #154:
URL: https://github.com/apache/maven-release/pull/154#discussion_r985069185


##########
maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java:
##########
@@ -455,7 +454,12 @@ private String getLineSeparatorFromPom()
     {
         char current;
         String lineSeparator = "";
-        try ( InputStream is = new FileInputStream( this.project.getFile() ) )
+        File releasePom = this.project.getFile();
+        if (releasePom == null)

Review Comment:
   not during prepare but it was null within some tests.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to