Skip to content

Commit

Permalink
rubocop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ricksterhd123 committed Dec 13, 2023
1 parent 918ccb4 commit 2f393f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def initialize(config) # rubocop:disable Metrics/MethodLength
"Failed to connect to server: http://#{user}:#{password}@#{host}:#{port}, code: #{open_result}"
end

def play(file_path) # rubocop:disable Metrics/MethodLength, Metrics/AbcSize
def play(file_path) # rubocop:disable Metrics/MethodLength
file = File.open(file_path)

# read first 3 bytes to check it looks like an .mp3 file
Expand Down

0 comments on commit 2f393f1

Please sign in to comment.