Permalink
Browse files

fixing case where framework is set using 3 digits (3.0/4.0). The bit …

…substring is empty, not null. This will fix all specs.
  • Loading branch information...
1 parent bca24cc commit 4710debb0128d0bd39ff54115bc9c2872762831a @idavis idavis committed Mar 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 psake.psm1
View
@@ -522,7 +522,7 @@ function Configure-BuildEnvironment {
'x64' {
$bitness = 'Framework64'
}
- $null {
+ { [string]::IsNullOrEmpty($_) } {
$ptrSize = [System.IntPtr]::Size
switch ($ptrSize) {
4 {

0 comments on commit 4710deb

Please sign in to comment.