Commit 5ae2cd7 1 parent 3e62ca1 commit 5ae2cd7 Copy full SHA for 5ae2cd7
File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2350,9 +2350,11 @@ const _upgraders = {
2350
2350
for ( const thread of profile . threads ) {
2351
2351
const { frameTable, stackTable } = thread ;
2352
2352
2353
- // Best-effort fix for profiles missing frameTable.category, such as the
2354
- // ones generated by Lean before https://github.com/leanprover/lean4/pull/6363
2355
- if ( ! ( 'category' in frameTable ) ) {
2353
+ // Best-effort fix for profiles missing frameTable.category or
2354
+ // frameTable.subcategory, such as the ones generated by Lean before
2355
+ // https://github.com/leanprover/lean4/pull/6363 or the ones generated by
2356
+ // vernier before https://github.com/jhawthorn/vernier/issues/128 .
2357
+ if ( ! frameTable . category || ! frameTable . subcategory ) {
2356
2358
frameTable . category = [ ] ;
2357
2359
frameTable . subcategory = [ ] ;
2358
2360
for ( let frameIndex = 0 ; frameIndex < frameTable . length ; frameIndex ++ ) {
You can’t perform that action at this time.
0 commit comments