Skip to content

Commit 6599f98

Browse files
authored
build: prepare v5.16.1 release (#1588)
* 5.16.1 * refactor: use exec instead of match Signed-off-by: Adam Setch <[email protected]> --------- Signed-off-by: Adam Setch <[email protected]>
1 parent 237a6b6 commit 6599f98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gitify",
3-
"version": "5.16.0",
3+
"version": "5.16.1",
44
"description": "GitHub notifications on your menu bar.",
55
"main": "build/main.js",
66
"scripts": {

src/renderer/utils/emojis.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ export function convertTextToEmojiImgHtml(text: string): string {
2929
}
3030

3131
function extractSvgFilename(imgHtml: string): string {
32-
const srcMatch = imgHtml.match(/src="(.*)"/);
32+
const srcMatch = /src="(.*)"/.exec(imgHtml);
3333
return path.basename(srcMatch[1]);
3434
}

0 commit comments

Comments
 (0)