Skip to content

Commit

Permalink
Fix WinGetUtil WinGetCreateManifest result (#2296)
Browse files Browse the repository at this point in the history
  • Loading branch information
yao-msft authored Jun 30, 2022
1 parent aa6f589 commit 785668d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/WinGetUtil/Exports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ extern "C"
std::unique_ptr<Manifest> result = std::make_unique<Manifest>(YamlParser::CreateFromPath(inputPath, validateOption, mergedManifestPath ? mergedManifestPath : L""));

*manifest = static_cast<WINGET_MANIFEST_HANDLE>(result.release());
*succeeded = true;
}
catch (const ManifestException& e)
{
Expand Down

0 comments on commit 785668d

Please sign in to comment.