Skip to content

Commit

Permalink
fix: corrected def statement for podfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Murat Mehmet committed Jul 16, 2024
1 parent b23cab5 commit c59d1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/findClosingTagIndex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const TagDefinitions = {
comment: '<!--.*?-->',
},
POD: {
open: '\\b(do\\b(\\s\\|.*?\\|)?|(?<!end )if\\b)',
open: '\\b((def|do)\\b(\\s\\|.*?\\|)?|(?<!end )if\\b)',
close: '\\bend(\\sif)?\\b',
comment: '(#.*?$|=begin.*?=end)',
},
Expand Down

0 comments on commit c59d1e4

Please sign in to comment.