diff options
author | dubiousjim <dubiousjim@gmail.com> | 2020-03-14 22:57:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-14 22:57:42 -0400 |
commit | 6cc40b08652d0224111dc5e902210174b5a63cee (patch) | |
tree | 6ece1c2418e09851e51b082962894bef370c9f31 /std/archive/tar.ts | |
parent | 0df9823cba680d41b981e021a88aaf19e88b0e76 (diff) |
BREAKING CHANGE FileInfo.len renamed to FileName.size (#4338)
Diffstat (limited to 'std/archive/tar.ts')
-rw-r--r-- | std/archive/tar.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/archive/tar.ts b/std/archive/tar.ts index 33a9ae097..2680bcff2 100644 --- a/std/archive/tar.ts +++ b/std/archive/tar.ts @@ -334,7 +334,7 @@ export class Tar { ); } - const fileSize = info?.len ?? opts.contentSize; + const fileSize = info?.size ?? opts.contentSize; assert(fileSize != null, "fileSize must be set"); const tarData: TarDataWithSource = { fileName, |