Skip to content

Commit

Permalink
Merge pull request #36 from shivammathur/addvcversion
Browse files Browse the repository at this point in the history
Add 2017 in switch case of VCVersion in PhpVersion
  • Loading branch information
mlocati authored Sep 8, 2019
2 parents cbda459 + 9edabd4 commit 04998ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PhpManager/private/PhpVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ class PhpVersionInstalled : PhpVersion
}
$vcYear = $match.Matches.Groups[1].Value
switch ($vcYear) {
'2017' { $data.VCVersion = 15 }
'2019' { $data.VCVersion = 16 }
default { throw "Failed to recognize VCVersion from Visual C++ $vcYear" }
}
Expand Down

0 comments on commit 04998ed

Please sign in to comment.