Merge pull request #20 from CodeBunTes/fix_co2 #13
Annotations
1 error and 11 warnings
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
src/Umbraco.Community.Sustainability/Services/SustainabilityService.cs#L33
Possible null reference argument for parameter 'json' in 'SustainabilityData? JsonSerializer.Deserialize<SustainabilityData>(string json, JsonSerializerOptions? options = null)'.
|
src/Umbraco.Community.Sustainability/Services/SustainabilityService.cs#L37
Dereference of a possibly null reference.
|
src/Umbraco.Community.Sustainability/Services/SustainabilityService.cs#L33
Possible null reference argument for parameter 'json' in 'SustainabilityData? JsonSerializer.Deserialize<SustainabilityData>(string json, JsonSerializerOptions? options = null)'.
|
src/Umbraco.Community.Sustainability/Services/SustainabilityService.cs#L37
Dereference of a possibly null reference.
|
src/Umbraco.Community.Sustainability/Services/PageMetricService.cs#L40
Possible null reference argument for parameter 'id' in 'IPublishedContent? IPublishedContentQuery.Content(object id)'.
|
src/Umbraco.Community.Sustainability/Models/SustainabilityData.cs#L39
Non-nullable property 'name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
src/Umbraco.Community.Sustainability/Models/SustainabilityData.cs#L40
Non-nullable property 'entryType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
src/Umbraco.Community.Sustainability/Models/SustainabilityData.cs#L43
Non-nullable property 'initiatorType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
src/Umbraco.Community.Sustainability/Models/SustainabilityData.cs#L44
Non-nullable property 'deliveryType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
src/Umbraco.Community.Sustainability/Models/SustainabilityData.cs#L45
Non-nullable property 'nextHopProtocol' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
This job failed
Loading