Use new cli on fbt string extraction script
Reviewed By: frantic Differential Revision: D2534971 fb-gh-sync-id: b008c21c2194c59e8b2b83402841292cee8d85e8
This commit is contained in:
parent
24bfdda499
commit
b00c49725c
|
@ -71,13 +71,14 @@ function _dependencies(argv, config, resolve, reject) {
|
|||
? fs.createWriteStream(args.output)
|
||||
: process.stdout;
|
||||
|
||||
log('Running ReactPackager');
|
||||
log('Waiting for the packager.');
|
||||
// TODO: allow to configure which logging namespaces should get logged
|
||||
// log('Running ReactPackager');
|
||||
// log('Waiting for the packager.');
|
||||
resolve(ReactPackager.createClientFor(packageOpts).then(client => {
|
||||
log('Packager client was created');
|
||||
// log('Packager client was created');
|
||||
return client.getOrderedDependencyPaths(options)
|
||||
.then(deps => {
|
||||
log('Packager returned dependencies');
|
||||
// log('Packager returned dependencies');
|
||||
client.close();
|
||||
|
||||
deps.forEach(modulePath => {
|
||||
|
@ -94,7 +95,7 @@ function _dependencies(argv, config, resolve, reject) {
|
|||
}
|
||||
});
|
||||
writeToFile && outStream.end();
|
||||
log('Wrote dependencies to output file');
|
||||
// log('Wrote dependencies to output file');
|
||||
});
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue