Skip to content

Commit

Permalink
Fix FileNotFoundException
Browse files Browse the repository at this point in the history
  • Loading branch information
tegorov committed Oct 4, 2022
1 parent b328a60 commit 4a56f3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This plugin generates [environment.properties](https://docs.qameta.io/allure/#_e
<plugin>
<groupId>com.github.tegorov</groupId>
<artifactId>allure-environment-maven-plugin</artifactId>
<version>0.1.0</version>
<version>0.1.2</version>
<executions>
<execution>
<goals>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>com.github.tegorov</groupId>
<artifactId>allure-environment-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<version>0.1.1</version>
<version>0.1.2</version>
<name>${project.groupId}:${project.artifactId}</name>
<description>Maven plugin generating environment.properties for Allure report</description>
<url>https://github.com/tegorov/allure-environment-maven-plugin</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void execute() throws MojoExecutionException {

File propertiesFile = new File(allureResultsFile, ALLURE_ENVIRONMENT_PROPERTIES);
if (propertiesFile.exists()) {
propertiesFile.delete();
return;
}

try (FileOutputStream outputStrem = new FileOutputStream(propertiesFile)) {;
Expand Down

0 comments on commit 4a56f3f

Please sign in to comment.