From d3841b766f9d37d557646003899f67525c5f755f Mon Sep 17 00:00:00 2001 From: Markus Hatvan Date: Tue, 5 Oct 2021 17:04:09 +0200 Subject: chore: add eslint-plugin-unicorn (#733) --- recipes/slack/webview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes/slack') diff --git a/recipes/slack/webview.js b/recipes/slack/webview.js index 23cede8..f436ba9 100644 --- a/recipes/slack/webview.js +++ b/recipes/slack/webview.js @@ -24,7 +24,7 @@ module.exports = Ferdi => { if (icon) { bgUrl = window.getComputedStyle(icon, null).getPropertyValue('background-image'); - bgUrl = /^url\((['"]?)(.*)\1\)$/.exec(bgUrl); + bgUrl = /^url\((["']?)(.*)\1\)$/.exec(bgUrl); bgUrl = bgUrl ? bgUrl[2] : ''; } -- cgit v1.2.3-54-g00ecf