summaryrefslogtreecommitdiff
path: root/std/archive/tar.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-10-17 17:08:23 +0200
committerGitHub <noreply@github.com>2020-10-17 17:08:23 +0200
commitc1c760130406405c8fde9a74bd88c62ca721967b (patch)
tree2422c7f1b8c8f4279094f7d7253b96735381e317 /std/archive/tar.ts
parent46b892ad37df9ba9bed77fb923a1cfe284b208dc (diff)
upgrade: deno_doc, deno_lint, dprint, swc (#8009)
Diffstat (limited to 'std/archive/tar.ts')
-rw-r--r--std/archive/tar.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/std/archive/tar.ts b/std/archive/tar.ts
index 9e417007f..a169d5b4b 100644
--- a/std/archive/tar.ts
+++ b/std/archive/tar.ts
@@ -493,6 +493,8 @@ class TarEntry implements Reader {
this.#read += n || 0;
if (n === null || bytesLeft <= 0) {
+ // FIXME(bartlomieju): this condition makes no sense
+ // deno-lint-ignore no-constant-condition
if (null) this.#consumed = true;
return null;
}