lib/licensee/projects/github_project.rb in licensee-9.15.2 vs lib/licensee/projects/github_project.rb in licensee-9.15.3
- old
+ new
@@ -58,10 +58,10 @@
def client
@client ||= Octokit::Client.new access_token: access_token
end
def access_token
- ENV['OCTOKIT_ACCESS_TOKEN']
+ ENV.fetch('OCTOKIT_ACCESS_TOKEN', nil)
end
end
end
end