From 96fe2d10a4da0521b7cd72d90fd42121f9311978 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Sun, 6 Oct 2019 01:02:34 +0900 Subject: Update eslint and @typescript-eslint (denoland/deno_std#621) Original: https://github.com/denoland/deno_std/commit/c3fe858f98565edbe8faeb3cf2e5b873304f4f6e --- strings/pad.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'strings/pad.ts') diff --git a/strings/pad.ts b/strings/pad.ts index 3c5084da2..267839a39 100644 --- a/strings/pad.ts +++ b/strings/pad.ts @@ -60,7 +60,7 @@ export function pad( out = out.padEnd(strLen, opts.char); } } else if (opts.strict && outL > strLen) { - let addChar = opts.strictChar ? opts.strictChar : ""; + const addChar = opts.strictChar ? opts.strictChar : ""; if (opts.strictSide === "left") { let toDrop = outL - strLen; if (opts.strictChar) { -- cgit v1.2.3