Update dependency SimpleExec to v12 #46
pull-requests.yml
on: pull_request
build-test-pull-request
42s
Annotations
10 errors
build-test-pull-request:
src/Cake.Buildah/GenericBuildahRunner.cs#L72
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/GenericBuildahRunner.cs#L39
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/GenericBuildahRunner.cs#L77
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/GenericBuildahRunner.cs#L44
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/GenericBuildahRunner.cs#L21
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
|
build-test-pull-request:
src/Cake.Buildah/Custom/CustomCommand/BuildahAliases.Aliases.CustomCommand.cs#L20
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/ArgumentsBuilderExtension.cs#L32
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/ArgumentsBuilderExtension.cs#L37
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/Custom/CustomCommand/BuildahAliases.Aliases.CustomCommand.cs#L58
Use 'string.IndexOf(char)' instead of 'string.IndexOf(string)' when you have a string with a single char (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1865)
|
build-test-pull-request:
src/Cake.Buildah/Custom/CustomCommand/BuildahAliases.Aliases.CustomCommand.cs#L38
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|