Skip to content

Commit

Permalink
use emojize
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Jan 24, 2025
1 parent 344022c commit bc7441e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runway/services/github.cr
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ module Runway
@log = Runway.setup_logger(log_level.to_s.upcase)

if ENV["GITHUB_APP_ID"]? && ENV["GITHUB_APP_INSTALLATION_ID"]? && ENV["GITHUB_APP_PRIVATE_KEY"]?
@log.info { "🔑 using github app authentication" } unless Runway::QUIET
@log.info { Emoji.emojize(":key: using github app authentication") } unless Runway::QUIET
return GitHubApp.new
end

Expand All @@ -110,7 +110,7 @@ module Runway
end

# create the client
@log.info { "🔑 using github token authentication" } unless Runway::QUIET
@log.info { Emoji.emojize(":key: using github token authentication") } unless Runway::QUIET
client = Octokit::Client.new(access_token: token)
client.auto_paginate = ENV.fetch("OCTOKIT_CR_AUTO_PAGINATE", "true") == "true"
client.per_page = ENV.fetch("OCTOKIT_CR_PER_PAGE", "100").to_i
Expand Down

0 comments on commit bc7441e

Please sign in to comment.