mirror of
https://github.com/bettercap/bettercap
synced 2025-07-30 03:29:57 -07:00
misc
This commit is contained in:
parent
3cea30a277
commit
3e8063c2c7
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ func gzipCompress(call otto.FunctionCall) otto.Value {
|
||||||
|
|
||||||
arg := argv[0]
|
arg := argv[0]
|
||||||
if (!arg.IsString()) {
|
if (!arg.IsString()) {
|
||||||
return ReportError("btoa: single argument must be a string.")
|
return ReportError("gzipCompress: single argument must be a string.")
|
||||||
}
|
}
|
||||||
|
|
||||||
uncompressedBytes := []byte(arg.String())
|
uncompressedBytes := []byte(arg.String())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue