diff options
author | Yusuke Tanaka <yusuktan@maguro.dev> | 2020-11-15 04:27:37 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-14 20:27:37 +0100 |
commit | 90290030469cc7f278492ece67dd783c4d380b43 (patch) | |
tree | abf33a2bd20a8f734563f294aff3c4a440d9d49e /tools/util.js | |
parent | 3d65e57d7c48f5dd1307f83771fe5574d914cea3 (diff) |
build: update dlint to v0.2.10 (#8284)
Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics
for "require-await" rule.
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tools/util.js')
-rw-r--r-- | tools/util.js | 4 |
1 files changed, 2 insertions, 2 deletions
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", |