Skip to content

Commit 4721404

Browse files
committed
Addressing comments
1 parent 7ba413c commit 4721404

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/AppInstallerCLICore/Commands/DscUserSettingsFileResource.cpp

+9-6
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,16 @@ namespace AppInstaller::CLI
3333
_userSettingsPath(UserSettings::SettingsFilePath())
3434
{
3535
const auto& action = Input.Action();
36-
if (action.has_value() && Utility::CaseInsensitiveEquals(action.value(), ACTION_FULL))
36+
if (action.has_value())
3737
{
38-
Output.Action(ACTION_FULL);
39-
}
40-
else
41-
{
42-
Output.Action(ACTION_PARTIAL);
38+
if (Utility::CaseInsensitiveEquals(action.value(), ACTION_FULL))
39+
{
40+
Output.Action(ACTION_FULL);
41+
}
42+
else
43+
{
44+
Output.Action(ACTION_PARTIAL);
45+
}
4346
}
4447
}
4548

0 commit comments

Comments
 (0)