Wrap last return statement in else
to fix tree shaking
#27788
Merged
else
to fix tree shaking
#27788