From 90290030469cc7f278492ece67dd783c4d380b43 Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Sun, 15 Nov 2020 04:27:37 +0900 Subject: build: update dlint to v0.2.10 (#8284) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics for "require-await" rule. Co-authored-by: Bartek IwaƄczuk --- tools/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/util.js b/tools/util.js index 41236e579..778aba1e3 100644 --- a/tools/util.js +++ b/tools/util.js @@ -31,7 +31,7 @@ async function getFilesFromGit(baseDir, cmd) { return files; } -async function gitLsFiles(baseDir, patterns) { +function gitLsFiles(baseDir, patterns) { baseDir = Deno.realPathSync(baseDir); const cmd = [ "git", @@ -50,7 +50,7 @@ async function gitLsFiles(baseDir, patterns) { } /** List all files staged for commit */ -async function gitStaged(baseDir, patterns) { +function gitStaged(baseDir, patterns) { baseDir = Deno.realPathSync(baseDir); const cmd = [ "git", -- cgit v1.2.3