Skip to content

Commit

Permalink
SetListItem: fix -SystemUpdate:$false
Browse files Browse the repository at this point in the history
  • Loading branch information
fowl2 committed Sep 29, 2022
1 parent 0dc3baf commit d502498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/Lists/SetListItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class SetListItem : PnPWebCmdlet
protected override void ExecuteCmdlet()
{
#pragma warning disable CS0618
if (ParameterSpecified(nameof(SystemUpdate)))
if (SystemUpdate)
{
UpdateType = ListItemUpdateType.SystemUpdate;
}
Expand Down

0 comments on commit d502498

Please sign in to comment.