[ci] Don't block binarycaching = false

This commit is contained in:
Alexander Karatarakis 2018-04-18 02:32:37 -07:00
parent 468bfeb56e
commit 039abe258b

View File

@ -154,8 +154,10 @@ namespace vcpkg::Commands::CI
void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_triplet)
{
Checks::check_exit(
VCPKG_LINE_INFO, GlobalState::g_binary_caching, "The ci command requires binary caching to be enabled.");
if (!GlobalState::g_binary_caching)
{
System::println(System::Color::warning, "Warning: Running ci without binary caching!");
}
const ParsedArguments options = args.parse_arguments(COMMAND_STRUCTURE);