mirror of
https://github.com/electron/node-gyp.git
synced 2025-09-16 14:03:39 +02:00
update fstream to v0.1.18
This commit is contained in:
parent
a07f082717
commit
aa8bc9d7cf
9 changed files with 275 additions and 124 deletions
4
node_modules/fstream/lib/dir-writer.js
generated
vendored
4
node_modules/fstream/lib/dir-writer.js
generated
vendored
|
@ -100,7 +100,9 @@ DirWriter.prototype._process = function () {
|
|||
// don't allow recursive copying
|
||||
var p = entry
|
||||
do {
|
||||
if (p._path === me.root._path || p._path === me._path) {
|
||||
var pp = p._path || p.path
|
||||
if (pp === me.root._path || pp === me._path ||
|
||||
(pp && pp.indexOf(me._path) === 0)) {
|
||||
// console.error("DW Exit (recursive)", entry.basename, me._path)
|
||||
me._processing = false
|
||||
if (entry._collected) entry.pipe()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue