Skip to content

Commit 3a41d13

Browse files
Add more logging 3
1 parent 782364e commit 3a41d13

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/code/FindPSResource.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,13 @@ private void ProcessResourceNameParameterSet()
175175
try
176176
{
177177
WriteDebug("In FindPSResource::ProcessResourceNameParameterSet()");
178+
179+
WriteVerbose("checking if Name parameter is specified");
180+
181+
var check = MyInvocation.BoundParameters.ContainsKey(nameof(Name));
182+
183+
WriteVerbose("Value of check for Name parameter: " + check);
184+
178185
// only cases where Name is allowed to not be specified is if Type or Tag parameters are
179186
if (!MyInvocation.BoundParameters.ContainsKey(nameof(Name)))
180187
{

0 commit comments

Comments
 (0)