Skip to content

Commit

Permalink
Bump System.Drawing.Common from 8.0.7 to 8.0.8 (microsoft#1887)
Browse files Browse the repository at this point in the history
* Bump System.Drawing.Common from 8.0.7 to 8.0.8

Bumps [System.Drawing.Common](https://github.com/dotnet/winforms) from 8.0.7 to 8.0.8.
- [Release notes](https://github.com/dotnet/winforms/releases)
- [Changelog](https://github.com/dotnet/winforms/blob/main/docs/release-activity.md)
- [Commits](https://github.com/dotnet/winforms/commits)

---
updated-dependencies:
- dependency-name: System.Drawing.Common
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump change log

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bernie White <[email protected]>
  • Loading branch information
dependabot[bot] and BernieWhite authored Aug 14, 2024
1 parent 58e477e commit 6047662
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/CHANGELOG-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ What's changed since pre-release v3.0.0-B0203:
[#1869](https://github.com/microsoft/PSRule/pull/1869)
- Bump xunit.runner.visualstudio to v2.8.2.
[#1869](https://github.com/microsoft/PSRule/pull/1869)
- Bump System.Drawing.Common to v8.0.7.
[#1867](https://github.com/microsoft/PSRule/pull/1867)
- Bump System.Drawing.Common to v8.0.8.
[#1887](https://github.com/microsoft/PSRule/pull/1887)
- Bump YamlDotNet to v15.3.0.
[#1856](https://github.com/microsoft/PSRule/pull/1856)
- Bump Microsoft.CodeAnalysis.Common to v4.10.0.
Expand Down
2 changes: 1 addition & 1 deletion src/PSRule.BuildTool/PSRule.BuildTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.21308.1" />
<PackageReference Include="System.Drawing.Common" Version="8.0.7" />
<PackageReference Include="System.Drawing.Common" Version="8.0.8" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/PSRule.BuildTool/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
},
"System.Drawing.Common": {
"type": "Direct",
"requested": "[8.0.7, )",
"resolved": "8.0.7",
"contentHash": "DoeBae0gZvxs3mtfoub6F1k28fSkFPzmhFuvblplKMnLYKmTMVy0j4Yxahh96KM532JzHGDxhJn1VpMKSB1pyg==",
"requested": "[8.0.8, )",
"resolved": "8.0.8",
"contentHash": "4ZM1wvLjz9nVVExsfPAaSl/qOvU+QNedJL5rQ+2Wbow+iGeyO0e7XN07707rMBgaffEeeLrCZBwC0oHUuvRdPw==",
"dependencies": {
"Microsoft.Win32.SystemEvents": "8.0.0"
}
Expand Down
6 changes: 6 additions & 0 deletions src/PSRule/Commands/ExportConventionCommand.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using System.Diagnostics.CodeAnalysis;
using System.Management.Automation;
using PSRule.Definitions;
using PSRule.Definitions.Conventions;
Expand All @@ -18,11 +19,16 @@ internal sealed class ExportConventionCommand : LanguageBlock
private const string Cmdlet_BodyParameter = "Body";
private const string Cmdlet_ScopeParameter = "Scope";

#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring as nullable.

[Parameter(Mandatory = true, Position = 0)]
[ValidateNotNullOrEmpty()]
[ValidateLength(3, 128)]

public string Name { get; set; }

#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring as nullable.

/// <summary>
/// A script block to call once before any objects are processed.
/// </summary>
Expand Down

0 comments on commit 6047662

Please sign in to comment.