Skip to content

Commit

Permalink
- Invalid use of destructuring
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #20178

Differential Revision: D8860733

Pulled By: TheSavior

fbshipit-source-id: ec4aa3050755652106dec9ea245394314c862e97
  • Loading branch information
Umair Ansari authored and facebook-github-bot committed Jul 16, 2018
1 parent e9e20e6 commit 9d5bd50
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions jest/preprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ module.exports = {
// node specific transforms only
return babelTransformSync(
src,
Object.assign(
{filename: file},
{sourceType: 'script', ...nodeOptions, ast: false},
),
{
filename: file,
sourceType: 'script',
...nodeOptions,
ast: false

This comment has been minimized.

Copy link
@LinusU

LinusU Aug 1, 2018

Contributor

Missing a trailing comma here, this is causing CI for #20366 to fail...

This comment has been minimized.

Copy link
@hramos

hramos Aug 9, 2018

Contributor

Thanks, I'm sending a patch for this

},
).code;
}

Expand Down

0 comments on commit 9d5bd50

Please sign in to comment.