Skip to content

Commit

Permalink
Fixed configs naming
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafachyi committed Apr 20, 2024
1 parent 0788d2d commit bb6123f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ruby-version/main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def find_key(server)
end

def format_name(name)
name.gsub(' ', '_')
name.gsub(' ', '_').gsub('-', '').gsub('__', '_')
end

def generate_config(key, server)
Expand Down Expand Up @@ -208,4 +208,4 @@ def main
main
rescue => error
puts "Error occurred: #{error}"
end
end

0 comments on commit bb6123f

Please sign in to comment.