diff options
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 } } |