Skip to content

Commit

Permalink
Remove redundant Boolean call
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound committed Jun 24, 2019
1 parent 430feef commit 0078c6f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -25,7 +25,7 @@ module.exports = (options?: {|eagerESModules: boolean|}): PluginInterface => ({
inputExtensions: ['js', 'jsx'],
outputExtension: 'js',
typeGenerator: RelayFlowGenerator,
formatModule: Boolean(options && options.eagerESModules)
formatModule: options && options.eagerESModules
? formatGeneratedESModule
: formatGeneratedCommonjsModule,
findGraphQLTags: find,
Expand Down

0 comments on commit 0078c6f

Please sign in to comment.