Skip to content

Commit

Permalink
Fix thoughtbot#216, extra newline with customize_gemfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-sharp committed Feb 29, 2024
1 parent 2338a1e commit 21f21b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/appraisal/customize.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module Appraisal
class Customize
def initialize(heading: nil, single_quotes: false)
@@heading = heading
@@heading = heading&.chomp
@@single_quotes = single_quotes
end

def self.heading
def self.heading(gemfile)
@@heading ||= nil
end

Expand Down

0 comments on commit 21f21b7

Please sign in to comment.