Skip to content

Commit

Permalink
Add new line at the end of the file
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonnam committed Jun 8, 2018
1 parent 3aa71c0 commit 00af0c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/SyncVersion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ versionSwift.enumerateLines { line, _ in
lines.append(line)
}
lines.removeLast()
lines.append("let version = \"\(version)\"")
lines.append("let version = \"\(version)\"\n")
let newFileContent = lines.joined(separator: "\n")

try! newFileContent.write(toFile: pathToVersionSwift, atomically: true, encoding: .utf8)

0 comments on commit 00af0c8

Please sign in to comment.