Skip to content

Commit

Permalink
Merge pull request #18 from remind101/confirmation-info
Browse files Browse the repository at this point in the history
Display a bit more info about what is going to happen if confirmed
  • Loading branch information
quentin- committed May 20, 2015
2 parents 4d783bb + 793cd3d commit b69e8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func newDeploymentRequest(c *cli.Context) (*github.DeploymentRequest, error) {
}

if ProtectedEnvironments[env] {
yes := askYN("Are you sure you want to push to production?")
yes := askYN(fmt.Sprintf("Are you sure you want to deploy %s to %s?", ref, env))
if !yes {
return nil, fmt.Errorf("Deployment aborted.")
}
Expand Down

0 comments on commit b69e8ca

Please sign in to comment.