diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-10-06 01:02:34 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-10-05 12:02:34 -0400 |
commit | 96fe2d10a4da0521b7cd72d90fd42121f9311978 (patch) | |
tree | cb4d5ecafa55a3a522cf0ad9d742fb6a1e1f2283 /encoding/hex.ts | |
parent | 2f90225c89926932a34eb40758e2af0d1742e1f8 (diff) |
Update eslint and @typescript-eslint (denoland/deno_std#621)
Original: https://github.com/denoland/deno_std/commit/c3fe858f98565edbe8faeb3cf2e5b873304f4f6e
Diffstat (limited to 'encoding/hex.ts')
-rw-r--r-- | encoding/hex.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding/hex.ts b/encoding/hex.ts index d2e499cc7..de3d76869 100644 --- a/encoding/hex.ts +++ b/encoding/hex.ts @@ -85,7 +85,7 @@ export function decode( dst: Uint8Array, src: Uint8Array ): [number, Error | void] { - var i = 0; + let i = 0; for (; i < Math.floor(src.length / 2); i++) { const [a, aOK] = fromHexChar(src[i * 2]); if (!aOK) { |