1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
bytesize.go
→
bytesize.go
@@ -65,7 +65,7 @@ return 0, err
} s = strings.ToLower(s) if strings.HasSuffix(s, "bit") { - s = strings.TrimPrefix(s, "bit") + s = strings.TrimSuffix(s, "bit") } else { num *= 8 }