Dont need to specify ASCII mode

bug/bundler_fix
Meatballs 2014-04-22 14:36:02 +01:00
parent d73854ff17
commit 71b43d392b
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 4 additions and 4 deletions

View File

@ -51,8 +51,8 @@ module Powershell
psh_expression << "$(IEX $(New-Object IO.StreamReader("
psh_expression << "$(New-Object IO.Compression.DeflateStream("
psh_expression << "$s,"
psh_expression << "[IO.Compression.CompressionMode]::Decompress)),"
psh_expression << "[Text.Encoding]::ASCII)).ReadToEnd());"
psh_expression << "[IO.Compression.CompressionMode]::Decompress))"
psh_expression << ")).ReadToEnd());"
# If eof is set, add a marker to signify end of code output
#if (eof && eof.length == 8) then psh_expression += "'#{eof}'" end
@ -87,8 +87,8 @@ module Powershell
psh_expression << "$(IEX $(New-Object IO.StreamReader("
psh_expression << "$(New-Object IO.Compression.GzipStream("
psh_expression << "$s,"
psh_expression << "[IO.Compression.CompressionMode]::Decompress)),"
psh_expression << "[Text.Encoding]::ASCII)).ReadToEnd());"
psh_expression << "[IO.Compression.CompressionMode]::Decompress))"
psh_expression << ")).ReadToEnd());"
# If eof is set, add a marker to signify end of code output
#if (eof && eof.length == 8) then psh_expression += "'#{eof}'" end