Skip to content

Refactor to improve maintainability (#1881) #387

Refactor to improve maintainability (#1881)

Refactor to improve maintainability (#1881) #387

Triggered via push July 28, 2024 06:22
Status Success
Total duration 5m 19s
Artifacts 2

build.yaml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

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