Skip to content

Commit a40da23

Browse files
author
Kapil Borle
committed
Add verbose while processing settings parameter
1 parent bf9bcb3 commit a40da23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Engine/ScriptAnalyzer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,13 @@ internal bool ParseProfile(object profileObject, PathIntrinsics path, IOutputWri
204204
// profile was not given
205205
if (profileObject == null)
206206
{
207+
writer.WriteVerbose("No settings hashtable or file to consume");
207208
return true;
208209
}
209210

210211
if (!(profileObject is string || profileObject is Hashtable))
211212
{
213+
writer.WriteWarning("Settings parameter should be a hashtable or a filepath");
212214
return false;
213215
}
214216

0 commit comments

Comments
 (0)