Skip to content

Commit

Permalink
#197 parameters of catch should be optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCoder committed Oct 28, 2024
1 parent 9c6386b commit 7d637ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default {
},
methods: {
exception(ctx) {
return ctx?.invocation()?.parameters().getFormattedText();
return ctx?.invocation()?.parameters()?.getFormattedText();
},
blockInCatchBlock(ctx) {
return ctx?.braceBlock()?.block();
Expand Down

0 comments on commit 7d637ce

Please sign in to comment.