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 --- examples/gist.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/gist.ts') diff --git a/examples/gist.ts b/examples/gist.ts index 7c52662b4..890d85099 100755 --- a/examples/gist.ts +++ b/examples/gist.ts @@ -53,11 +53,11 @@ async function main(): Promise { }); if (res.ok) { - let resObj = await res.json(); + const resObj = await res.json(); console.log("Success"); console.log(resObj["html_url"]); } else { - let err = await res.text(); + const err = await res.text(); console.error("Failure to POST", err); } } -- cgit v1.2.3