Skip to content

Commit 2bef269

Browse files
committed
prettier
1 parent 2401d3b commit 2bef269

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/material-ui-codemod/src/v5.0.0/utils-imports.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ export default function transformer(fileInfo, api, options) {
6767
break;
6868
}
6969
case 'ImportSpecifier':
70-
if(localName === 'createSvgIcon') {
70+
if (localName === 'createSvgIcon') {
7171
addSpecifier('@material-ui/core/SvgIcon', specifier);
7272
} else {
7373
if (!whitelist.has(specifier.imported.name)) return;
7474
addSpecifier(targetImportPath, specifier);
7575
}
7676

77-
if(index === specifiersLength - 1) {
78-
for(let i=0; i <= index; i++) {
77+
if (index === specifiersLength - 1) {
78+
for (let i = 0; i <= index; i++) {
7979
path.get('specifiers', 0).prune();
8080
}
8181
}

0 commit comments

Comments
 (0)