Skip to content

Commit

Permalink
Merge pull request #54 from onovotny/desc-url-fix
Browse files Browse the repository at this point in the history
Desc url fix
  • Loading branch information
Oren Novotny authored Oct 18, 2018
2 parents 17c0e80 + 74bc39b commit 8ff8402
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/SignClient/SignClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="2.1.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.1.1" />
<PackageReference Include="Microsoft.IdentityModel.Clients.ActiveDirectory" Version="3.19.8" />
<PackageReference Include="Refit" Version="4.6.16" />
<PackageReference Include="Refit" Version="4.6.48" />
</ItemGroup>

</Project>
7 changes: 6 additions & 1 deletion src/SignClient/SignCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,12 @@ CommandOption descriptionUrl

HttpResponseMessage response;

response = await client.SignFile(input, fileList.HasValue() ? new FileInfo(ExpandFilePath(fileList.Value())) : null, HashMode.Sha256, name.Value(), description.Value(), description.Value());
response = await client.SignFile(input,
fileList.HasValue() ? new FileInfo(ExpandFilePath(fileList.Value())) : null,
HashMode.Sha256,
name.Value(),
description.Value(),
descriptionUrl.Value());

// Check response

Expand Down

0 comments on commit 8ff8402

Please sign in to comment.