lib/danger/commands/init.rb in danger-0.5.0 vs lib/danger/commands/init.rb in danger-0.5.1
- old
+ new
@@ -229,11 +229,11 @@
ui.say "I'll hold…"
ui.wait_for_return
end
ui.say "In order to expose an environment variable, go to:"
- ui.link "https://circleci.com/gh/#{repo_slug}/edit#env-vars"
+ ui.link "https://circleci.com/gh/#{current_repo_slug}/edit#env-vars"
ui.say "The name is " + "DANGER_GITHUB_API_TOKEN".yellow + " and the value is the GitHub Personal Acess Token."
end
def unsure_token
ui.say "You need to expose a token called " + "DANGER_GITHUB_API_TOKEN".yellow + " and the value is the GitHub Personal Acess Token."
@@ -260,10 +260,10 @@
def thanks
ui.say "\n\n🎉"
ui.pause 0.6
ui.say "And you're set. Danger is a collaboration between Orta Therox, Gem 'Danger' McShane and Felix Krause."
- ui.say "If you like it, let others know. If you want to know more, follow " + "@orta".yellow + " and " + "@krausefx".yellow + " on twitter."
+ ui.say "If you like it, let others know. If you want to know more, follow " + "@orta".yellow + " and " + "@KrauseFx".yellow + " on Twitter."
ui.say "If you don't like it, help us improve it! xxx"
end
end
end