ui: Remove random undefined from codemod run (#9370)

This commit is contained in:
John Cowen 2020-12-11 09:33:43 +00:00 committed by GitHub
parent 212c9fc684
commit 8d52d8a1d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,6 @@ export default class DcRoute extends Route {
// https://deprecations.emberjs.com/v3.x/#toc_deprecate-router-events
@action
willTransition(transition) {
undefined;
if (
typeof transition !== 'undefined' &&
(transition.from.name.endsWith('nspaces.create') ||