Skip to content

Commit 0a45f82

Browse files
Merge pull request #2 from CodeshiftCommunity/test-publish
🔨 Rename file parameter name
2 parents afae44d + d29679c commit 0a45f82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

community/@atlaskit__avatar/18.0.0/transform.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,11 @@ function updateBorderWidthUsage(
203203
}
204204

205205
export default function transformer(
206-
fileInfo: FileInfo,
206+
file: FileInfo,
207207
{ jscodeshift: j }: API,
208208
options: Options,
209209
) {
210-
const source = j(fileInfo.source);
210+
const source = j(file.source);
211211

212212
if (hasImportDeclaration(j, source, '@atlaskit/avatar')) {
213213
updateBorderWidthUsage(j, source);
@@ -217,5 +217,5 @@ export default function transformer(
217217
return source.toSource(options.printOptions || { quote: 'single' });
218218
}
219219

220-
return fileInfo.source;
220+
return file.source;
221221
}

0 commit comments

Comments
 (0)