Skip to content

Commit

Permalink
Merge branch 'pr1100' into stable
Browse files Browse the repository at this point in the history
* pr1100:
  (GH-1053) Update note about global confirmation
  • Loading branch information
ferventcoder committed Jan 21, 2017
2 parents 53bebc9 + 2753ce0 commit 4b955e8
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -206,8 +206,8 @@ public bool run_action(ChocolateyConfiguration configuration, PackageResult pack
{
this.Log().Info(ChocolateyLoggers.Important, () => "The package {0} wants to run '{1}'.".format_with(package.Id, _fileSystem.get_file_name(chocoPowerShellScript)));
this.Log().Info(ChocolateyLoggers.Important, () => "Note: If you don't run this script, the installation will fail.");
this.Log().Info(ChocolateyLoggers.Important, () => @"Note: To confirm automatically next time, use '-y' or consider setting
'allowGlobalConfirmation'. Run 'choco feature -h' for more details.");
this.Log().Info(ChocolateyLoggers.Important, () => @"Note: To confirm automatically next time, use '-y' or consider:");
this.Log().Info(ChocolateyLoggers.Important, () => @"choco feature enable -n allowGlobalConfirmation");

var selection = InteractivePrompt.prompt_for_confirmation(@"Do you want to run the script?",
new[] { "yes", "no", "print" },
Expand Down

0 comments on commit 4b955e8

Please sign in to comment.