Skip to content

Commit 4568076

Browse files
author
Kapil Borle
committed
Update verbose messages of invoke-scriptanalyzer
1 parent 8fb56b4 commit 4568076

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Engine/Commands/InvokeScriptAnalyzerCommand.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,13 +280,16 @@ protected override void BeginProcessing()
280280
}
281281
else if (IsBuiltinSettingPreset(settings))
282282
{
283+
var settingsFilePath = Helper.GetSettingPresetFilePath(settings as string);
284+
this.WriteVerbose(String.Format("Using settings file at {0}", settingsFilePath));
283285
settingFileHasErrors = !ScriptAnalyzer.Instance.ParseProfile(
284-
Helper.GetSettingPresetFilePath(settings as string),
286+
settingsFilePath,
285287
this.SessionState.Path,
286288
this);
287289
}
288290
else
289291
{
292+
this.WriteVerbose(String.Format("Using settings file at {0}", this.settings));
290293
settingFileHasErrors = !ScriptAnalyzer.Instance.ParseProfile(this.settings, this.SessionState.Path, this);
291294
}
292295

0 commit comments

Comments
 (0)