Skip to content

Commit

Permalink
Fix ManifestMergerAction test case on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Bencodes committed Feb 15, 2022
1 parent 535a4d4 commit db542cc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ private static Path removePermissions(Path manifest, Path outputDir)
}
}
// Write resulting manifest to the output directory, maintaining full path to prevent collisions
Path output = outputDir.resolve(manifest.toString().replaceFirst("^/", ""));
Files.createDirectories(output.getParent());
Path output = Files.createTempFile(outputDir, "AndroidManifest", ".xml");
TransformerFactory.newInstance()
.newTransformer()
.transform(new DOMSource(doc), new StreamResult(output.toFile()));
Expand Down

0 comments on commit db542cc

Please sign in to comment.