Skip to content

Commit

Permalink
Merge pull request #21 from hlaueriksson/fix
Browse files Browse the repository at this point in the history
Fix
hlaueriksson authored Jan 12, 2025

Verified

This commit was signed with the committer’s verified signature. The key has expired.
danielleadams Danielle Adams
2 parents 42166e0 + 59e205f commit f8da800
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project>
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
@@ -22,7 +22,7 @@
<PackageVersion Include="hyjiacan.pinyin4net" Version="4.1.1" />
<PackageVersion Include="Interop.Microsoft.Office.Interop.OneNote" Version="1.1.0.2" />
<PackageVersion Include="LazyCache" Version="2.4.0" />
<PackageVersion Include="Mages" Version="2.0.2" />
<PackageVersion Include="Mages" Version="3.0.0" />
<PackageVersion Include="Markdig.Signed" Version="0.34.0" />
<!-- Including MessagePack to force version, since it's used by StreamJsonRpc but contains vulnerabilities. After StreamJsonRpc updates the version of MessagePack, we can upgrade StreamJsonRpc instead. -->
<PackageVersion Include="MessagePack" Version="2.5.187" />
2 changes: 1 addition & 1 deletion src/Community.PowerToys.Run.Plugin.Lint/GitHubClient.cs
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ public GitHubClient(GitHubOptions? options, ILogger logger)
if (!string.IsNullOrEmpty(options.PersonalAccessToken))
{
// https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token
HttpClient.DefaultRequestHeaders.Add("Authorization", options.PersonalAccessToken);
HttpClient.DefaultRequestHeaders.Add("Authorization", $"token {options.PersonalAccessToken}");
}
}

Original file line number Diff line number Diff line change
@@ -7,12 +7,12 @@
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="NUnit" Version="4.3.0" />
<PackageReference Include="NUnit" Version="4.3.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Verify.NUnit" Version="28.6.0" />
<PackageReference Include="Verify.NUnit" Version="28.8.1" />
</ItemGroup>

<ItemGroup>
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
<PackageVersion Include="hyjiacan.pinyin4net" Version="4.1.1" />
<PackageVersion Include="Interop.Microsoft.Office.Interop.OneNote" Version="1.1.0.2" />
<PackageVersion Include="LazyCache" Version="2.4.0" />
<PackageVersion Include="Mages" Version="2.0.2" />
<PackageVersion Include="Mages" Version="3.0.0" />
<PackageVersion Include="Markdig.Signed" Version="0.34.0" />
<!-- Including MessagePack to force version, since it's used by StreamJsonRpc but contains vulnerabilities. After StreamJsonRpc updates the version of MessagePack, we can upgrade StreamJsonRpc instead. -->
<PackageVersion Include="MessagePack" Version="2.5.187" />

0 comments on commit f8da800

Please sign in to comment.