We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a5d1fc commit c782451Copy full SHA for c782451
tools/StaticAnalysis/BreakingChangeAnalyzer/CmdletMetadataHelper.cs
@@ -220,7 +220,10 @@ private void CheckForChangedOutputType(
220
// Add each output in the new metadata to the dictionary
221
foreach (var newOutput in newCmdlet.OutputTypes)
222
{
223
- outputDictionary.Add(newOutput.Type.Name, newOutput.Type);
+ if (!outputDictionary.ContainsKey(newOutput.Type.Name))
224
+ {
225
+ outputDictionary.Add(newOutput.Type.Name, newOutput.Type);
226
+ }
227
}
228
229
// For each output in the old metadata, see if it
0 commit comments