Skip to content

Commit 20c991e

Browse files
author
Kapil Borle
committed
Add public qualifier in rule maker template string
1 parent d637c37 commit 20c991e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Utils/RuleMaker.psm1

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules
8787
#if !CORECLR
8888
[Export(typeof(IScriptRule))]
8989
#endif
90-
class {0} : IScriptRule
90+
public class {0} : IScriptRule
9191
{{
9292
/// <summary>
9393
/// Analyzes the given ast to find the [violation]
@@ -483,4 +483,4 @@ Function Remove-Rule
483483
}
484484

485485
Export-ModuleMember -Function Add-Rule
486-
Export-ModuleMember -Function Remove-Rule
486+
Export-ModuleMember -Function Remove-Rule

0 commit comments

Comments
 (0)