Skip to content

Commit cead757

Browse files
committed
Update StaticAnalysis and serialized cmdlets
1 parent 58ce412 commit cead757

17 files changed

+583
-433
lines changed

tools/StaticAnalysis/BreakingChangeAnalyzer/CmdletBreakingChangeLoader.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,9 @@ public ModuleMetadata GetModuleMetadata(string assemblyPath)
164164
}
165165
}
166166

167-
if (cmdletMetadata.ParameterSets.Count == 0)
167+
if (!cmdletMetadata.ParameterSets
168+
.Where(p => p.Name.Equals(cmdletMetadata.DefaultParameterSetName, StringComparison.OrdinalIgnoreCase))
169+
.Any())
168170
{
169171
ParameterSetMetadata defaultSet = new ParameterSetMetadata()
170172
{

tools/StaticAnalysis/SerializedCmdlets/Microsoft.Azure.Commands.AnalysisServices.dll.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@
13681368
]
13691369
},
13701370
{
1371-
"Name": "Disable Backup",
1371+
"Name": "DisableBackup",
13721372
"Parameters": [
13731373
{
13741374
"ParameterMetadata": {

0 commit comments

Comments
 (0)