Add missing trailing comma

Summary: Adds missing comma, following up on https://github.com/facebook/react-native/pull/20178. Thanks to LinusU for pointing out the error.

Reviewed By: TheSavior

Differential Revision: D9242887

fbshipit-source-id: 4b547396722d0e37dc5c8eb3439b9a441c3c0ac2
This commit is contained in:
Héctor Ramos 2018-08-13 11:59:59 -07:00 committed by Facebook Github Bot
parent f805d35154
commit 1081560d86
1 changed files with 6 additions and 9 deletions

View File

@ -39,15 +39,12 @@ module.exports = {
process(src /*: string */, file /*: string */) {
if (nodeFiles.test(file)) {
// node specific transforms only
return babelTransformSync(
src,
{
filename: file,
sourceType: 'script',
...nodeOptions,
ast: false
},
).code;
return babelTransformSync(src, {
filename: file,
sourceType: 'script',
...nodeOptions,
ast: false,
}).code;
}
const {ast} = transformer.transform({