Skip to content

Commit

Permalink
style: rubocop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Mar 8, 2024
1 parent 2471883 commit bc28b28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/generators/anycable/setup/setup_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def install_for_docker
def install_for_local
inside("bin") do
template "anycable-go"
chmod "anycable-go", 0755, verbose: false
chmod "anycable-go", 0755, verbose: false # rubocop:disable Style/NumericLiteralPrefix
end

if file_exists?(".gitignore")
Expand Down Expand Up @@ -270,7 +270,7 @@ def file_exists?(name)
end

def anycable_go_version
@anycable_go_version ||= (normalize_version(options[:version]) || "latest")
@anycable_go_version ||= normalize_version(options[:version]) || "latest"
end

def normalize_version(version)
Expand Down

0 comments on commit bc28b28

Please sign in to comment.