Revert Enum removal

.NET 4.5 has two constructors with 2 args so this becomes ambiguous
bug/bundler_fix
Meatballs 2014-04-23 02:06:14 +01:00
parent d2e8e07cfe
commit e774411b63
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 2 additions and 4 deletions

View File

@ -64,8 +64,7 @@ module Powershell
psh_expression << "IEX (New-Object IO.StreamReader(" psh_expression << "IEX (New-Object IO.StreamReader("
psh_expression << "New-Object IO.Compression.DeflateStream(" psh_expression << "New-Object IO.Compression.DeflateStream("
psh_expression << "$s," psh_expression << "$s,"
# [IO.Compression.CompressionMode]::Decompress = 0 psh_expression << "[IO.Compression.CompressionMode]::Decompress)"
psh_expression << "0)"
psh_expression << ")).ReadToEnd();" psh_expression << ")).ReadToEnd();"
# If eof is set, add a marker to signify end of code output # If eof is set, add a marker to signify end of code output
@ -105,8 +104,7 @@ module Powershell
psh_expression << "IEX (New-Object IO.StreamReader(" psh_expression << "IEX (New-Object IO.StreamReader("
psh_expression << "New-Object IO.Compression.GzipStream(" psh_expression << "New-Object IO.Compression.GzipStream("
psh_expression << "$s," psh_expression << "$s,"
# [IO.Compression.CompressionMode]::Decompress = 0 psh_expression << "[IO.Compression.CompressionMode]::Decompress)"
psh_expression << "0)"
psh_expression << ")).ReadToEnd();" psh_expression << ")).ReadToEnd();"
# If eof is set, add a marker to signify end of code output # If eof is set, add a marker to signify end of code output