Skip to content

Commit

Permalink
fix error message with opposite meaning
Browse files Browse the repository at this point in the history
  • Loading branch information
hortoncd committed Nov 8, 2024
1 parent 3fac1aa commit 1752c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/github_app_auth/app_installation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def installation_token(type, name, options = {})

resp = application_client.create_app_installation_access_token(installation[:id])
if resp.nil? || resp[:token].nil?
raise GitHub::App::Auth::TokenError, "Could generate installation token for #{type}: #{name}"
raise GitHub::App::Auth::TokenError, "Could not generate installation token for #{type}: #{name}"
end

resp[:token]
Expand Down

0 comments on commit 1752c45

Please sign in to comment.