Skip to content

Commit 4b2bb2d

Browse files
authored
Fix Zip README blank line separator (#4450)
1 parent 80e25a4 commit 4b2bb2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ZipBuilder/Sources/ZipBuilder/ZipBuilder.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ struct ZipBuilder {
439439
result += "- \(framework).framework\n"
440440
}
441441

442-
result += "\n"
442+
result += "\n" // Necessary for Resource message to print properly in markdown.
443443

444444
// Check if there is a Resources directory, and if so, add the disclaimer to the dependency
445445
// string.
@@ -449,6 +449,7 @@ struct ZipBuilder {
449449
in: dir)
450450
if !resourceDirs.isEmpty {
451451
result += Constants.resourcesRequiredText
452+
result += "\n" // Separate from next pod in listing for text version.
452453
}
453454
} catch {
454455
fatalError("""

0 commit comments

Comments
 (0)