Skip to content

Commit

Permalink
Update non major nuget packages (fix) (#995)
Browse files Browse the repository at this point in the history
* updated nonmajor nuget packages and fixed errors blocking build

* removed lines reported to fail
  • Loading branch information
allinox authored Aug 6, 2024
1 parent 5d428b6 commit 9d45266
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Altinn.Common.AccessTokenClient" Version="3.0.5" />
<PackageReference Include="Altinn.Common.AccessTokenClient" Version="3.0.6" />
<PackageReference Include="Altinn.Platform.Models" Version="1.6.1" />
<PackageReference Include="Azure.Identity" Version="1.12.0" />
<PackageReference Include="Azure.Security.KeyVault.Certificates" Version="4.6.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ private async Task<List<ServiceResource>> GetFullResourceList()
/// <returns>List of filtered resources or all resources if the list of filters is null or empty</returns>
private List<ServiceResourceFE> FilterResourceList(List<ServiceResourceFE> resources, string[] resourceOwnerFilters)
{
if (resourceOwnerFilters.IsNullOrEmpty())
if (resourceOwnerFilters == null || resourceOwnerFilters.Length == 0)
{
return resources;
}
Expand Down Expand Up @@ -320,7 +320,7 @@ private List<ServiceResourceFE> FilterResourceList(List<ServiceResourceFE> resou
/// </returns>
private List<ServiceResourceFE> SearchInResourceList(List<ServiceResourceFE> resources, string searchString)
{
if (searchString.IsNullOrEmpty())
if (string.IsNullOrEmpty(searchString))
{
return resources;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<ItemGroup>
<PackageReference Include="Altinn.App.Common" Version="6.0.2" />
<PackageReference Include="Altinn.Common.PEP" Version="4.0.0" />
<PackageReference Include="Bogus" Version="35.5.1" />
<PackageReference Include="Bogus" Version="35.6.0" />
<PackageReference Include="JWTCookieAuthentication" Version="4.0.1" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.7.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Filters" Version="8.0.2" />
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit 9d45266

Please sign in to comment.