Skip to content

Commit

Permalink
Fail with proper message if you use upgrade in manifest mode. (#1066)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort committed May 17, 2023
1 parent d72e742 commit 835798f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/vcpkg/commands.upgrade.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ namespace vcpkg::Commands::Upgrade
{
if (paths.manifest_mode_enabled())
{
msg::println_error(msgUpgradeInManifest);
Checks::unreachable(VCPKG_LINE_INFO);
Checks::msg_exit_with_error(VCPKG_LINE_INFO, msgUpgradeInManifest);
}

const ParsedArguments options = args.parse_arguments(COMMAND_STRUCTURE);
Expand Down

0 comments on commit 835798f

Please sign in to comment.