Skip to content

Commit

Permalink
Reenable?
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythonic-Rainbow committed Jan 16, 2024
1 parent 25b2c66 commit d64d95f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Bot/Bot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<AnalysisModeNaming>All</AnalysisModeNaming>
<AnalysisModeGlobalization>None</AnalysisModeGlobalization>
<AnalysisModeSecurity>All</AnalysisModeSecurity>
<RunAnalyzersDuringBuild>False</RunAnalyzersDuringBuild>
<RunAnalyzersDuringBuild>True</RunAnalyzersDuringBuild>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Bot/Sql/Db.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ internal static void Init()
var x = s_db.Table<User>();

Check warning on line 11 in Bot/Sql/Db.cs

View workflow job for this annotation

GitHub Actions / build

Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008)
foreach (var y in x)

Check warning on line 12 in Bot/Sql/Db.cs

View workflow job for this annotation

GitHub Actions / build

Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008)

Check warning on line 12 in Bot/Sql/Db.cs

View workflow job for this annotation

GitHub Actions / build

Unnecessary assignment of a value to 'y' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0059)
{
Console.WriteLine(y.CocId);
//Console.WriteLine(y.CocId);
}
}
}

0 comments on commit d64d95f

Please sign in to comment.