Skip to content

Commit 3519437

Browse files
Re-order logic
1 parent cec40a1 commit 3519437

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/vscode/server/src/lib/events/custom-events/on-migrate-code.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ export const ON_MIGRATE_CODE = async (
4040
return undefined;
4141
}
4242

43-
/** Formatting config for info.fsPath */
44-
const config = GetFormattingConfigForFile(info.fsPath);
45-
4643
// do nothing
4744
if (!IDLFileHelper.isPROCode(info.fsPath)) {
4845
return undefined;
4946
}
5047

48+
/** Formatting config for info.fsPath */
49+
const config = GetFormattingConfigForFile(info.fsPath);
50+
5151
/**
5252
* Formatted code
5353
*/

0 commit comments

Comments
 (0)