Skip to content

(改) 优化代码

(改) 优化代码 #14

Triggered via push December 11, 2023 04:46
Status Success
Total duration 5m 17s
Artifacts

codeql.yml

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

Annotations

10 warnings
Analyze (csharp): Carbonyl/Class/Commands/RootCommands/RootCommand.cs#L8
Nullability of reference types in return type of 'string? RootCommand.Identifier.get' doesn't match implicitly implemented member 'string ICommand.Identifier.get' (possibly because of nullability attributes).
Analyze (csharp): Carbonyl/Class/Commands/HelpCommands/HelpCommand.cs#L8
Nullability of reference types in return type of 'string? HelpCommand.Identifier.get' doesn't match implicitly implemented member 'string ICommand.Identifier.get' (possibly because of nullability attributes).
Analyze (csharp): Carbonyl/Class/Commands/HelpCommands/HelpCommand.cs#L11
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Analyze (csharp): Carbonyl/Class/Commands/RunCommands/RunCommand.cs#L10
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Analyze (csharp): Carbonyl/Class/Commands/RootCommands/RootCommand.cs#L11
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Analyze (csharp): Carbonyl/Class/Commands/RootCommands/RootCommand.cs#L8
Nullability of reference types in return type of 'string? RootCommand.Identifier.get' doesn't match implicitly implemented member 'string ICommand.Identifier.get' (possibly because of nullability attributes).
Analyze (csharp): Carbonyl/Class/Commands/HelpCommands/HelpCommand.cs#L8
Nullability of reference types in return type of 'string? HelpCommand.Identifier.get' doesn't match implicitly implemented member 'string ICommand.Identifier.get' (possibly because of nullability attributes).
Analyze (csharp): Carbonyl/Class/Commands/HelpCommands/HelpCommand.cs#L11
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Analyze (csharp): Carbonyl/Class/Commands/RunCommands/RunCommand.cs#L10
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Analyze (csharp): Carbonyl/Class/Commands/RootCommands/RootCommand.cs#L11
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.