Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Commit

Permalink
Remove trailing empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
uiryuu committed Mar 12, 2018
1 parent 88e97ef commit 5f91d45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iina-translation-utility/LocalizableFile.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class LocalizableFile: NSObject {
}
toWrite.append(String(currentLine) + "\n")
}
toWrite.removeLast()
try toWrite.write(toFile: url.path, atomically: false, encoding: .utf8)
} catch let error {
Utils.showAlert(message: error.localizedDescription)
Expand Down

0 comments on commit 5f91d45

Please sign in to comment.