Skip to content

Commit 286a586

Browse files
committed
fix entry zip name for template format file
1 parent dcdeb50 commit 286a586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/exporters/compression.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func determineZipEntryName(outputPath, format string) string {
117117
name = "export"
118118
}
119119

120-
if !strings.HasSuffix(name, "."+format) {
120+
if !strings.HasSuffix(name, "."+format) && format != FormatTemplate {
121121
name = fmt.Sprintf("%s.%s", name, format)
122122
}
123123

0 commit comments

Comments
 (0)