File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -134,8 +134,11 @@ function append_li(ul, ...args) {
134
134
}
135
135
}
136
136
137
- function append_li_migrate ( ul , from , to ) {
137
+ function append_li_migrate ( ul , from , to , name ) {
138
138
const li = document . createElement ( 'li' ) ;
139
+ if ( name !== undefined ) {
140
+ li . appendChild ( document . createTextNode ( `${ name } ` ) ) ;
141
+ }
139
142
{
140
143
const span = document . createElement ( 'span' ) ;
141
144
span . className = 'old' ;
@@ -234,11 +237,7 @@ function extend_change_list(list, items) {
234
237
for ( arg of item . before . fields ) {
235
238
const current = new_args [ arg . name ] ;
236
239
if ( typeof current !== 'undefined' && arg . type !== current . type ) {
237
- append_li_migrate (
238
- ul ,
239
- `${ arg . name } :${ arg . type } ` ,
240
- `${ current . name } :${ current . type } `
241
- ) ;
240
+ append_li_migrate ( ul , arg . type , current . type , arg . name ) ;
242
241
}
243
242
}
244
243
You can’t perform that action at this time.
0 commit comments