winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3d2804202514050ba4d468b4d91ce8f7b49c1220
parent b5289711dde8ed0fb7c4e42634b267dad8306a43
Author: Kevin Larkin (MS) <kevinla@microsoft.com>
Date:   Thu, 26 Mar 2020 09:53:28 -0700

fixed minor type occured -> occurred. (#72)


Diffstat:
Msrc/AppInstallerCLICore/Core.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/AppInstallerCLICore/Core.cpp b/src/AppInstallerCLICore/Core.cpp @@ -109,14 +109,14 @@ namespace AppInstaller::CLI { // TODO: Better error output std::string message = Utility::ConvertToUTF8(hre.message()); - context.Reporter.ShowMsg("An error occured while executing the command: " + message, Execution::Reporter::Level::Error); + context.Reporter.ShowMsg("An error occurred while executing the command: " + message, Execution::Reporter::Level::Error); AICLI_LOG(CLI, Error, << "Error encountered executing command: " << message); return APPINSTALLER_CLI_ERROR_COMMAND_FAILED; } catch (const std::exception& e) { // TODO: Better error output - context.Reporter.ShowMsg("An error occured while executing the command: " + std::string(e.what()), Execution::Reporter::Level::Error); + context.Reporter.ShowMsg("An error occurred while executing the command: " + std::string(e.what()), Execution::Reporter::Level::Error); AICLI_LOG(CLI, Error, << "Error encountered executing command: " << e.what()); return APPINSTALLER_CLI_ERROR_COMMAND_FAILED; }