From 48b0983b54faf56f0eb6fd7b9b9a6eddae764dac Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Fri, 26 Oct 2018 08:05:11 -0500 Subject: [PATCH] Remove variable reassignment --- background/storage.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/background/storage.js b/background/storage.js index a447676d..55c47590 100644 --- a/background/storage.js +++ b/background/storage.js @@ -271,7 +271,6 @@ function fixUsoMd5Issue(style) { if (style && style.md5Url && style.md5Url.includes('update.update.userstyles')) { style.md5Url = style.md5Url.replace('update.update.userstyles', 'update.userstyles'); } - return style; } function filterStylesInternal({ @@ -360,7 +359,7 @@ function saveStyle(style) { let existed; let codeIsUpdated; - style = fixUsoMd5Issue(style); + fixUsoMd5Issue(style); return maybeCalcDigest() .then(maybeImportFix)