Merge pull request #8765 from issyl0/sorbet-files-yaml-preserve-newline-at-eof

sorbet/files.yaml: Preserve newline at EOF
This commit is contained in:
Issy Long 2020-09-18 15:25:42 +01:00 committed by GitHub
commit cc04f3de07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ module Homebrew
end
end
File.write(SORBET_FILES_YAML, lines_to_keep.join("\n"))
File.write(SORBET_FILES_YAML, "#{lines_to_keep.join("\n")}\n")
end
if args.update_definitions?