We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b4ab17 commit 0667282Copy full SHA for 0667282
index.js
@@ -261,7 +261,7 @@ exports.extract = function (cwd, opts) {
261
var onlink = function () {
262
if (win32) return next() // skip links on win for now before it can be tested
263
xfs.unlink(name, function () {
264
- var srcpath = path.resolve(cwd, header.linkname)
+ var srcpath = path.join(cwd, path.join('/', header.linkname))
265
266
xfs.link(srcpath, name, function (err) {
267
if (err && err.code === 'EPERM' && opts.hardlinkAsFilesFallback) {
0 commit comments