lib/danger/commands/init.rb in danger-3.0.3 vs lib/danger/commands/init.rb in danger-3.1.0

- old
+ new

@@ -143,11 +143,11 @@ end def current_repo_slug @git = GitRepo.new repo_matches = @git.origins.match(%r{([\/:])([^\/]+\/[^\/.]+)(?:.git)?$}) - repo_matches[2] || "[Your/Repo]" + (repo_matches[2] || "[Your/Repo]").strip end def setup_danger_ci ui.header "Step 4: Add Danger for your CI" @@ -232,10 +232,10 @@ ui.link "https://circleci.com/docs/fork-pr-builds" ui.say "TLDR: If you have anything other than Danger config settings in CircleCI, then you should not turn on the setting." ui.say "I'll give you a minute to read it..." ui.wait_for_return - ui.say "On Danger/Danger we turn on " + "Permissive building of fork pull requests".yellow + " this exposes the token to Danger" + ui.say "On danger/danger we turn on " + "Permissive building of fork pull requests".yellow + " this exposes the token to Danger" ui.say "You can find this setting at:" ui.link "https://circleci.com/gh/#{current_repo_slug}/edit#advanced-settings\n" ui.say "I'll hold..." ui.wait_for_return end