diff --git a/src/AppInstallerCLICore/Workflows/DependenciesFlow.cpp b/src/AppInstallerCLICore/Workflows/DependenciesFlow.cpp index cdfc1bd7a3..4f7f2537c0 100644 --- a/src/AppInstallerCLICore/Workflows/DependenciesFlow.cpp +++ b/src/AppInstallerCLICore/Workflows/DependenciesFlow.cpp @@ -249,9 +249,9 @@ namespace AppInstaller::CLI::Workflow const auto& rootInstaller = context.Get(); const auto& rootDependencies = rootInstaller->Dependencies; - if (rootDependencies.Empty()) + if (rootDependencies.Empty() || context.Args.Contains(Execution::Args::Type::SkipDependencies)) { - // If there's no dependencies there's nothing to do aside of logging the outcome + // If there's no dependencies or user skips them, there's nothing to do aside of logging the outcome return; }