File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -268,9 +268,7 @@ module.exports = ({ types }) => {
268
268
if ( logIgnoredBinding !== undefined ) optionLogIgnoredBinding = Boolean ( logIgnoredBinding ) ;
269
269
if ( logIgnoredClassComponentExtends !== undefined ) optionLogIgnoredClassComponentExtends = Boolean ( logIgnoredClassComponentExtends ) ;
270
270
271
- if ( Object . keys ( unknownOptions ) . length > 0 ) {
272
- warnOptions ( unknownOptions ) ;
273
- }
271
+ if ( Object . keys ( unknownOptions ) . length > 0 ) warnOptions ( unknownOptions ) ;
274
272
} ;
275
273
276
274
// plugin api
@@ -285,8 +283,9 @@ module.exports = ({ types }) => {
285
283
enter ( path , { file, opts } ) {
286
284
fileName = file . opts . filename . slice ( file . opts . cwd . length + 1 ) ;
287
285
288
- getImportIdentifier ( path ) ;
289
286
parseOptions ( opts ) ;
287
+
288
+ getImportIdentifier ( path ) ;
290
289
} ,
291
290
292
291
exit : updateImports ,
You can’t perform that action at this time.
0 commit comments