Skip to content

Commit

Permalink
- Linting (inconsistency between IDE and CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 committed Jun 12, 2024
1 parent 751f475 commit 3143950
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions EasyPost/Parameters/BaseParameters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public abstract class BaseParameters<TMatchInputType> : IBaseParameters where TM

// Check dependent parameters before we finish handling the current parameter
IEnumerable<TopLevelRequestParameterDependentsAttribute> dependentParameterAttributes = property.GetCustomAttributes<TopLevelRequestParameterDependentsAttribute>();
foreach (var dependentParameterAttribute in dependentParameterAttributes)
foreach (TopLevelRequestParameterDependentsAttribute dependentParameterAttribute in dependentParameterAttributes)
{
Tuple<bool, string> dependentParameterResult = dependentParameterAttribute.DependentsAreCompliant(this, value);
if (!dependentParameterResult.Item1)
Expand Down Expand Up @@ -140,8 +140,8 @@ public abstract class BaseParameters<TMatchInputType> : IBaseParameters where TM
object? value = property.GetValue(this);

// Check dependent parameters before we finish handling the current parameter
IEnumerable<TopLevelRequestParameterDependentsAttribute> dependentParameterAttributes = property.GetCustomAttributes<TopLevelRequestParameterDependentsAttribute>();
foreach (var dependentParameterAttribute in dependentParameterAttributes)
IEnumerable<NestedRequestParameterDependentsAttribute> dependentParameterAttributes = property.GetCustomAttributes<NestedRequestParameterDependentsAttribute>();
foreach (NestedRequestParameterDependentsAttribute dependentParameterAttribute in dependentParameterAttributes)
{
Tuple<bool, string> dependentParameterResult = dependentParameterAttribute.DependentsAreCompliant(this, value);
if (!dependentParameterResult.Item1)
Expand Down

0 comments on commit 3143950

Please sign in to comment.