Skip to content

Removing Lambda Environment variable block #213

Removing Lambda Environment variable block

Removing Lambda Environment variable block #213

Triggered via push February 11, 2024 20:59
Status Success
Total duration 4m 30s
Artifacts

sonar.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v1, actions/checkout@v2, actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1, actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build: src/webserver/Controllers/ChatController.cs#L23
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/webserver/Program.cs#L15
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Build: src/webserver/Program.cs#L17
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
Build: src/webserver/Program.cs#L17
Change the visibility of 'hubContext' or make it 'const' or 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2223)
Build: src/Models/RequetObject.cs#L103
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/live/ingest/src/Function.cs#L17
Remove the unused private field 'dynamoDBContext'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Build: src/utilities/EnvironmentVariables.cs#L70
Handle the exception or explain in a comment why it can be ignored. (https://rules.sonarsource.com/csharp/RSPEC-2486)
Build: src/utilities/EnvironmentVariables.cs#L70
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
Build: src/webutils/Program.cs#L45
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/strategies/drafts/Hedging.cs#L67
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)