Skip to content

Commit

Permalink
Fix for bug from issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Lamberti-Meng committed Feb 10, 2022
1 parent 3ae4f02 commit 4d389cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ private static FileOutputStream createFileOutputStream(File file) {
}

try {
return new FileOutputStream(file);
return new FileOutputStream(canonicalFile);
} catch (FileNotFoundException e) {
// See: https://github.com/cucumber/cucumber-jvm/issues/2108
throw new IllegalArgumentException(String.format("" +
Expand Down

0 comments on commit 4d389cf

Please sign in to comment.