Skip to content

Code Style Check

Code Style Check #189

Manually triggered November 16, 2023 17:03
Status Failure
Total duration 2m 32s
Artifacts

code-style.yaml

on: workflow_dispatch
check-code-style
2m 20s
check-code-style
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
check-code-style
Process completed with exit code 1.
check-code-style: src/dscom.client/Program.cs#L165
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance
check-code-style: src/dscom.client/Program.cs#L29
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array
check-code-style: src/dscom.client/Program.cs#L30
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array
check-code-style: src/dscom.client/Program.cs#L31
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array
check-code-style: src/dscom.client/Program.cs#L32
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array
check-code-style: src/dscom.client/Program.cs#L33
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array
check-code-style: src/dscom.client/Program.cs#L34
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array
check-code-style: src/dscom.client/Program.cs#L35
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array
check-code-style: src/dscom.client/Program.cs#L36
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array
check-code-style: src/dscom.client/Program.cs#L37
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array