Skip to content

Commit 1d7c779

Browse files
committed
Fix bug
1 parent 60ea58b commit 1d7c779

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/components/CodeManager.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,8 @@ export default {
410410
} )
411411
return
412412
}
413+
414+
// Refer to gcc-docs/gcc/Diagnostic-Message-Formatting-Options.html
413415
let ranges = []
414416
let i = details.indexOf( '[{' )
415417
let j = -1
@@ -442,10 +444,10 @@ export default {
442444
text: r.message,
443445
type: r.kind === 'note' ? 'info' : r.kind
444446
}
445-
}))
447+
} ) )
446448
447449
this.$refs.editor.execCommand( 'goToNextError' )
448-
}
450+
},
449451
450452
//
451453
// onCourseworkXXX

0 commit comments

Comments
 (0)