Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
Small fix to warn function
Browse files Browse the repository at this point in the history
  • Loading branch information
fizvlad committed Jul 29, 2019
1 parent 31f2919 commit e8ec25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vk_music/utility.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def self.hash_to_params(hash = {})

def self.warn(*args)
if defined?(Warning.warn)
Warning.warn(*args, "\n")
Warning.warn args.join("\n")
else
STDERR.puts "Warning:", *args
end
Expand Down

0 comments on commit e8ec25c

Please sign in to comment.