Process queues before exporting plugins
Summary: This diff makes sure that pending queues for plugins that are selected are processed before making a flipper export. Reviewed By: jknoxville Differential Revision: D19194211 fbshipit-source-id: e076375889450407e7f94384051719f3bbc415ee
This commit is contained in:
committed by
Facebook Github Bot
parent
0494a84d98
commit
b8e752412e
@@ -177,9 +177,7 @@ async function exitActions(
|
||||
);
|
||||
outputAndExit(payload);
|
||||
} else {
|
||||
const {serializedString, errorArray} = await exportStore(
|
||||
store.getState(),
|
||||
);
|
||||
const {serializedString, errorArray} = await exportStore(store);
|
||||
errorArray.forEach(console.error);
|
||||
outputAndExit(serializedString);
|
||||
}
|
||||
@@ -256,7 +254,7 @@ async function startFlipper(userArguments: UserArguments) {
|
||||
errorAndExit(e);
|
||||
});
|
||||
} else {
|
||||
exportStore(store.getState())
|
||||
exportStore(store)
|
||||
.then(({serializedString}) => {
|
||||
outputAndExit(serializedString);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user