Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ResourceMover/help/Add-AzResourceMoverMoveResource.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

ALIASES

### Update-AzResourceMoverMoveResource
### Update-AzResourceMoverMoveResource 123

COMPLEX PARAMETER PROPERTIES

Expand Down
5 changes: 3 additions & 2 deletions tools/StaticAnalysis/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,14 @@ public static void Main(string[] args)
if (args.Any(a => a.Equals("--modules-to-analyze") || a.Equals("-m")))
{
int idx = Array.FindIndex(args, a => a.Equals("--modules-to-analyze") || a.Equals("-m"));
if (idx + 1 == args.Length)
if (args[idx + 1] == null || args[idx + 1].StartsWith("-"))
{
Console.WriteLine("No value provided for the --modules-to-analyze parameter. Filtering over all built modules.");
}
else
{
modulesToAnalyze = args[idx + 1].Split(';').ToList();
var modules = args[idx + 1].Trim(' ', '\'', '"');
modulesToAnalyze = modules.Split(';').ToList();
}
}

Expand Down