diff options
author | Gar <gar+gh@danger.computer> | 2021-08-11 22:37:10 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-08-11 22:37:10 +0300 |
commit | 5bebf280f228e818524f6989caab1cfba1ffaf90 (patch) | |
tree | f37fc390d40da2b06e8472476d34d97aef473236 /node_modules/tar/lib/unpack.js | |
parent | 47a3d1805021f675afe523c4b7eebda4ade6e790 (diff) |
tar@6.1.8
Diffstat (limited to 'node_modules/tar/lib/unpack.js')
-rw-r--r-- | node_modules/tar/lib/unpack.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/node_modules/tar/lib/unpack.js b/node_modules/tar/lib/unpack.js index 329501595..cf10d0734 100644 --- a/node_modules/tar/lib/unpack.js +++ b/node_modules/tar/lib/unpack.js @@ -220,6 +220,8 @@ class Unpack extends Parser { const linkparts = normPath(entry.linkpath).split('/') if (linkparts.length >= this.strip) entry.linkpath = linkparts.slice(this.strip).join('/') + else + return false } } |