From 6a649012bcd780f4b3adfa55647772fce0012fde Mon Sep 17 00:00:00 2001 From: Chris Bystrek Date: Fri, 5 Oct 2018 07:29:55 -0400 Subject: Changed tools/lint.py to lint the entire js and tests directories. (#900) * Changed tools/lint.py to lint the entire js and tests directorys and sub directories, currently it was pointing at tsconfig and would only lint files that were part of js/main.ts or node_modules/typescript/lib/lib.esnext.d.ts and their dependencies * Broke the typescript linting out into separate steps for the main typescript programing and tests. * Fixed linting issues in ts tests. --- js/net_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/net_test.ts') diff --git a/js/net_test.ts b/js/net_test.ts index 0b6db7afa..93ad6ee00 100644 --- a/js/net_test.ts +++ b/js/net_test.ts @@ -9,7 +9,7 @@ testPerm({ net: true }, function netListenClose() { }); testPerm({ net: true }, async function netDialListen() { - let addr = "127.0.0.1:4500"; + const addr = "127.0.0.1:4500"; const listener = deno.listen("tcp", addr); listener.accept().then(async conn => { await conn.write(new Uint8Array([1, 2, 3])); -- cgit v1.2.3