Skip to content

Commit

Permalink
try removing OverrideOpenDependencySource
Browse files Browse the repository at this point in the history
  • Loading branch information
mdanish-kh committed Oct 19, 2023
1 parent 374bea6 commit 4c90716
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/AppInstallerCLICore/Workflows/DependenciesFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ namespace AppInstaller::CLI::Workflow

void CreateDependencySubContexts::operator()(Execution::Context& context) const
{
if (context.Args.Contains(Execution::Args::Type::SkipDependencies))
if (Settings::User().Get<Settings::Setting::InstallSkipDependencies>() || context.Args.Contains(Execution::Args::Type::SkipDependencies))
{
return;
}
Expand Down
1 change: 0 additions & 1 deletion src/AppInstallerCLITests/InstallDependenciesFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ TEST_CASE("InstallerWithDependencies_SkipDependencies", "[dependencies]")
TestContext context{ installOutput, std::cin };
auto previousThreadGlobals = context.SetForCurrentThread();
OverrideForShellExecute(context);
OverrideOpenDependencySource(context);

context.Args.AddArg(Execution::Args::Type::Manifest, TestDataFile("Installer_Exe_Dependencies.yaml").GetPath().u8string());
context.Args.AddArg(Execution::Args::Type::SkipDependencies);
Expand Down

0 comments on commit 4c90716

Please sign in to comment.