Skip to content

Commit 468b6d5

Browse files
committed
Add E2E tests for package resource
1 parent e522095 commit 468b6d5

File tree

6 files changed

+808
-1
lines changed

6 files changed

+808
-1
lines changed

src/AppInstallerCLICore/Commands/DscPackageResource.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ namespace AppInstaller::CLI
241241
if (SubContext->Contains(Execution::Data::Installer))
242242
{
243243
const auto& installer = SubContext->Get<Execution::Data::Installer>();
244-
if (installer)
244+
if (installer && installer->Scope != Manifest::ScopeEnum::Unknown)
245245
{
246246
Output.Scope(ConvertScope(Manifest::ScopeToString(installer->Scope), true));
247247
}

0 commit comments

Comments
 (0)