Directly return matched content instead of explicitely chopping off backticks
Open
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/dmg01/snippet-bot/blob/7857918d8e390ca9a06294e5dd566626f3037161/bot.js#L112-L119
I think what you need on line 118 is something like
```
var matches = regex.exec(string)
return (matches[1] || [])
```
I'm not sure, it's a bit late here, maybe I'll test this tomorrow after some sleep :P
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.