Skip to content

Commit

Permalink
Remove unused code (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtivel committed May 20, 2023
1 parent cfa7ec8 commit 46ca030
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
10 changes: 1 addition & 9 deletions src/Sign.Core/Tools/OpenVsixSignTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,10 @@ namespace Sign.Core
{
internal sealed class OpenVsixSignTool : Tool, IOpenVsixSignTool
{
private readonly IKeyVaultService _keyVaultService;

// Dependency injection requires a public constructor.
public OpenVsixSignTool(
IKeyVaultService keyVaultService,
IToolConfigurationProvider toolConfigurationProvider,
ILogger<INuGetSignTool> logger)
public OpenVsixSignTool(ILogger<INuGetSignTool> logger)
: base(logger)
{
ArgumentNullException.ThrowIfNull(keyVaultService, nameof(keyVaultService));

_keyVaultService = keyVaultService;
}

public async Task<bool> SignAsync(FileInfo file, SignConfigurationSet configuration, SignOptions options)
Expand Down
4 changes: 0 additions & 4 deletions test/Sign.Core.Test/Sign.Core.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
<ProjectReference Include="..\..\src\Sign.Core\Sign.Core.csproj" />
</ItemGroup>

<ItemGroup>
<SdkFile64 Include="$(WindowsSDKBuildToolsBinVersionedFolder)\x64\signtool.exe" />
</ItemGroup>

<ItemGroup>
<None Update="TestAssets\**\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down

0 comments on commit 46ca030

Please sign in to comment.