Skip to content

Commit

Permalink
Fix 'error strings should not be capitalized'
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov committed Feb 13, 2019
1 parent c857c2d commit 45f9913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/modules/k6/crypto/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func New() *Crypto {

func (*Crypto) RandomBytes(ctx context.Context, size int) []byte {
if size < 1 {
common.Throw(common.GetRuntime(ctx), errors.New("Invalid size"))
common.Throw(common.GetRuntime(ctx), errors.New("invalid size"))
}
bytes := make([]byte, size)
_, err := rand.Read(bytes)
Expand Down

0 comments on commit 45f9913

Please sign in to comment.