Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abitrolly committed Nov 23, 2023
1 parent 4fed452 commit bfbea8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/Homebrew/formula_creator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def head?
end

def write_formula!
raise "name should not be empty" if @name.to_s == ''
raise "name should not be empty" if @name.to_s == ""

path = @tap.new_formula_path(@name)
raise "#{path} already exists" if path.exist?

Expand Down

0 comments on commit bfbea8b

Please sign in to comment.