Refactor to improve maintainability (#1881) #387
Annotations
10 warnings
Build:
src/PSRule/Commands/ExportConventionCommand.cs#L90
Possible null reference argument for parameter 'block' in 'LanguageScriptBlock? ExportConventionCommand.ConventionBlock(RunspaceContext context, ScriptBlock block, RunspaceScope scope)'.
|
Build:
src/PSRule/Commands/ExportConventionCommand.cs#L91
Possible null reference argument for parameter 'block' in 'LanguageScriptBlock? ExportConventionCommand.ConventionBlock(RunspaceContext context, ScriptBlock block, RunspaceScope scope)'.
|
Build:
src/PSRule/Commands/ExportConventionCommand.cs#L92
Possible null reference argument for parameter 'block' in 'LanguageScriptBlock? ExportConventionCommand.ConventionBlock(RunspaceContext context, ScriptBlock block, RunspaceScope scope)'.
|
Build:
src/PSRule/Commands/ExportConventionCommand.cs#L93
Possible null reference argument for parameter 'block' in 'LanguageScriptBlock? ExportConventionCommand.ConventionBlock(RunspaceContext context, ScriptBlock block, RunspaceScope scope)'.
|
Build:
src/PSRule/Commands/ExportConventionCommand.cs#L24
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build:
src/PSRule/Commands/ExportConventionCommand.cs#L90
Possible null reference argument for parameter 'block' in 'LanguageScriptBlock? ExportConventionCommand.ConventionBlock(RunspaceContext context, ScriptBlock block, RunspaceScope scope)'.
|
Build:
src/PSRule/Commands/ExportConventionCommand.cs#L91
Possible null reference argument for parameter 'block' in 'LanguageScriptBlock? ExportConventionCommand.ConventionBlock(RunspaceContext context, ScriptBlock block, RunspaceScope scope)'.
|
Build:
src/PSRule/Commands/ExportConventionCommand.cs#L92
Possible null reference argument for parameter 'block' in 'LanguageScriptBlock? ExportConventionCommand.ConventionBlock(RunspaceContext context, ScriptBlock block, RunspaceScope scope)'.
|
Build:
src/PSRule/Commands/ExportConventionCommand.cs#L93
Possible null reference argument for parameter 'block' in 'LanguageScriptBlock? ExportConventionCommand.ConventionBlock(RunspaceContext context, ScriptBlock block, RunspaceScope scope)'.
|
Build:
src/PSRule/Commands/ExportConventionCommand.cs#L24
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Module
Expired
|
1.98 MB |
|
Results-PSRule
Expired
|
7.37 KB |
|