We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d224af9 commit 61a4f2eCopy full SHA for 61a4f2e
Engine/ScriptAnalyzer.cs
@@ -822,13 +822,13 @@ private void Initialize(
822
// Ensure that rules were actually loaded
823
if (rules == null || rules.Any() == false)
824
{
825
- string errorMessage = string.Format( CultureInfo.CurrentCulture, Strings.RulesNotFound);
+ string errorMessage = string.Format(CultureInfo.CurrentCulture, Strings.RulesNotFound);
826
827
this.outputWriter.ThrowTerminatingError(
828
new ErrorRecord(
829
new Exception(errorMessage),
830
errorMessage,
831
- ErrorCategory.ResourceUnavailable,
+ ErrorCategory.ObjectNotFound,
832
this));
833
}
834
0 commit comments