Skip to content
Snippets Groups Projects
Commit 5c83729b authored by kiendang's avatar kiendang
Browse files

Fix mutable string syntax

parent e18c5c12
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ module GitHub
class AuthenticationFailedError < Error
def initialize(github_message)
@github_message = github_message
message += "GitHub #{github_message}:"
message = +"GitHub #{github_message}:"
if ENV["HOMEBREW_GITHUB_API_TOKEN"]
message << <<~EOS
HOMEBREW_GITHUB_API_TOKEN may be invalid or expired; check:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment