Skip to content

Commit

Permalink
VCI-772: Fix codesmells
Browse files Browse the repository at this point in the history
  • Loading branch information
krankenbro committed Feb 22, 2024
1 parent e52b12d commit a7141c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/VirtoCommerce.Build/PlatformTools/Build.MatchVerisons.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private static IEnumerable<PackageItem> GetProjectPackages(Project project)
/// <summary>
/// Check match between manifest platform version and platform packages
/// </summary>
private List<string> ValdatePlatformVersion(IEnumerable<PackageItem> packages)
private static List<string> ValdatePlatformVersion(IEnumerable<PackageItem> packages)
{
return packages
.Where(package => package.IsPlatformPackage && SemanticVersion.Parse(package.Version) != SemanticVersion.Parse(ModuleManifest.PlatformVersion))
Expand All @@ -92,7 +92,7 @@ private List<string> ValdatePlatformVersion(IEnumerable<PackageItem> packages)
/// <summary>
/// Check dependencies for module packages versions mismatch
/// </summary>
private List<string> ValidateModuleDependenciesVersions(IEnumerable<PackageItem> packages)
private static List<string> ValidateModuleDependenciesVersions(IEnumerable<PackageItem> packages)
{
var result = new List<string>();

Expand All @@ -119,7 +119,7 @@ private List<string> ValidateModuleDependenciesVersions(IEnumerable<PackageItem>
/// <summary>
/// Check project packages for missed dependency in manifest
/// </summary>
private List<string> ValidateForMissedDependencies(IEnumerable<PackageItem> packages)
private static List<string> ValidateForMissedDependencies(IEnumerable<PackageItem> packages)
{
var result = new List<string>();

Expand Down

0 comments on commit a7141c2

Please sign in to comment.