From 00af0c835e68c82f9ca00130a98aea7691c65b86 Mon Sep 17 00:00:00 2001 From: jasonnam Date: Fri, 8 Jun 2018 17:27:33 +0700 Subject: [PATCH] Add new line at the end of the file --- Scripts/SyncVersion.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/SyncVersion.swift b/Scripts/SyncVersion.swift index 48f321f..a62ec76 100644 --- a/Scripts/SyncVersion.swift +++ b/Scripts/SyncVersion.swift @@ -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)