Skip to content

Commit 21a9610

Browse files
committed
fix version check with winget stdout
1 parent bf42518 commit 21a9610

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • clang-installer/src/downloader/native_packages

clang-installer/src/downloader/native_packages/windows.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ impl PackageManager for WindowsPackageManager {
112112
{
113113
// found the package, check version
114114
if let Some(ver_cmp) = ver_cmp.clone() {
115-
// skip id and get version
116-
l.next();
117115
if let Some(ver_str) = l.next()
118116
&& let Ok(ver) = Version::parse(ver_str)
119117
{

0 commit comments

Comments
 (0)