mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 18:25:06 +00:00
Fix race condition in packager list dependencies
Reviewed By: martinbigio Differential Revision: D2732655 fb-gh-sync-id: 6d3d730b499c183d3f6977a30ec37a799cc17c33
This commit is contained in:
parent
f9b744d501
commit
61272e69e9
@ -104,7 +104,9 @@ function _dependencies(argv, config, resolve, reject) {
|
|||||||
outStream.write(modulePath + '\n');
|
outStream.write(modulePath + '\n');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
writeToFile && outStream.end();
|
return writeToFile
|
||||||
|
? Promise.denodeify(outStream.end).bind(outStream)()
|
||||||
|
: Promise.resolve();
|
||||||
// log('Wrote dependencies to output file');
|
// log('Wrote dependencies to output file');
|
||||||
});
|
});
|
||||||
}));
|
}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user