Skip to content

Commit

Permalink
fixing case where framework is set using 3 digits (3.0/4.0). The bit …
Browse files Browse the repository at this point in the history
…substring is empty, not null. This will fix all specs.
  • Loading branch information
idavis committed Mar 19, 2012
1 parent bca24cc commit 4710deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psake.psm1
Expand Up @@ -522,7 +522,7 @@ function Configure-BuildEnvironment {
'x64' {
$bitness = 'Framework64'
}
$null {
{ [string]::IsNullOrEmpty($_) } {
$ptrSize = [System.IntPtr]::Size
switch ($ptrSize) {
4 {
Expand Down

0 comments on commit 4710deb

Please sign in to comment.