Skip to content

Commit

Permalink
Implementing (fatal) Sanity Check for issue #34
Browse files Browse the repository at this point in the history
  • Loading branch information
Lisias committed Jun 8, 2019
1 parent a0040b4 commit ed9c8d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Source/Scale/GlobalSuppressions.cs
@@ -0,0 +1,8 @@

// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.

[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage ("Potential Code Quality Issues", "RECS0082:Parameter has the same name as a member and hides it", Justification = "<Pending>", Scope = "member", Target = "~M:TweakScale.GUI.AlertBox.Init(System.String,System.String,System.Action)")]

2 changes: 1 addition & 1 deletion Source/Scale/PrefabDryCostWriter.cs
Expand Up @@ -210,7 +210,7 @@ private string checkForShowStoppers(Part p)
foreach (ConfigNode.Value property in basket.values)
{
if (1 != basket.GetValues(property.name).Length)
return "has duplicated properties - see issue #34 - https://github.com/net-lisias-ksp/TweakScale/issues/34";
return "having duplicated properties - see issue #34 - https://github.com/net-lisias-ksp/TweakScale/issues/34";
}
}
}
Expand Down

0 comments on commit ed9c8d3

Please sign in to comment.