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

pull/9379/head
John Cowen 4 years ago committed by GitHub
parent 7ea383fce6
commit 21e5a8f0f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save