Skip to content

Commit

Permalink
Merge pull request #974 from sk-/patch-1
Browse files Browse the repository at this point in the history
Fix danger local message when branch is not master
  • Loading branch information
orta committed Jan 15, 2020
2 parents ecae123 + 165dabd commit 7e60577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/commands/danger-local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ localPlatform.validateThereAreChanges().then(changes => {
// try to find the CI danger is running on and use that.
runRunner(app, { source: fakeSource, platform: localPlatform, additionalEnvVars: { DANGER_LOCAL_NO_CI: "yep" } })
} else {
console.log("No git changes detected between head and master.")
console.log(`No git changes detected between head and ${base}.`)
}
})

0 comments on commit 7e60577

Please sign in to comment.