berry icon indicating copy to clipboard operation
berry copied to clipboard

refactor(core): use const for descriptor in `LegacyMigrationResolver`

Open trivikr opened this issue 2 years ago • 0 comments

What's the problem this PR addresses?

The variable descriptor can be declared as const, and assigned values in a conditional operator. Another const can be used for initial parsed descriptor.

How did you fix it?

Use const for variable descriptor, and introduce new const parsedDescriptor

Checklist

  • [x] I have set the packages that need to be released for my changes to be effective.
  • [x] I will check that all automated PR checks pass before the PR gets reviewed.

trivikr avatar Mar 29 '22 20:03 trivikr