Skip to content

Commit

Permalink
force branch_name to be string
Browse files Browse the repository at this point in the history
  • Loading branch information
theodorton committed Nov 29, 2024
1 parent 4a1d668 commit 23ad773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/veksel/suffix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Suffix
PROTECTED_BRANCHES = %w[master main].freeze

def initialize(branch_name)
@branch_name = branch_name
@branch_name = String(branch_name)
end

def to_s
Expand Down

0 comments on commit 23ad773

Please sign in to comment.