Skip to content

Commit

Permalink
give tmp file an actual name
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceWalkerRS committed Jun 16, 2024
1 parent 694564c commit 4aed565
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private Path prepareNests(OrnitheNestsVersionMeta nestsMeta, OrderedVersion mcVe
}
MappingReader.read(mappingsPath, visitor);

mappingsPath = mappingsPath.resolveSibling(".tmp");
mappingsPath = mappingsPath.resolveSibling("%s%s-%s.tmp.tiny".formatted(mcVersion.launcherFriendlyVersionName(), side.suffix(), mappingFlavour.toString()));

try (MappingWriter writer = MappingWriter.create(mappingsPath, MappingFormat.TINY_2_FILE)) {
mappingTree.accept(writer);
Expand Down

0 comments on commit 4aed565

Please sign in to comment.