Skip to content

Commit 538d65f

Browse files
author
Chris Hunt
committed
Fix line length violation
1 parent 6cd918a commit 538d65f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/github/auth/keys_file.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ def write!(keys)
1616
Array(keys).each do |key|
1717
unless keys_file_content.include? key.key
1818
append_keys_file do |keys_file|
19-
keys_file.write "\n" unless keys_file_content.empty? || keys_file_content.end_with?("\n")
19+
unless keys_file_content.empty? || keys_file_content.end_with?("\n")
20+
keys_file.write "\n"
21+
end
2022
keys_file.write "#{key}\n"
2123
end
2224
end

0 commit comments

Comments
 (0)