Remove variable reassignment
This commit is contained in:
parent
2fc418e987
commit
48b0983b54
|
@ -271,7 +271,6 @@ function fixUsoMd5Issue(style) {
|
||||||
if (style && style.md5Url && style.md5Url.includes('update.update.userstyles')) {
|
if (style && style.md5Url && style.md5Url.includes('update.update.userstyles')) {
|
||||||
style.md5Url = style.md5Url.replace('update.update.userstyles', 'update.userstyles');
|
style.md5Url = style.md5Url.replace('update.update.userstyles', 'update.userstyles');
|
||||||
}
|
}
|
||||||
return style;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function filterStylesInternal({
|
function filterStylesInternal({
|
||||||
|
@ -360,7 +359,7 @@ function saveStyle(style) {
|
||||||
let existed;
|
let existed;
|
||||||
let codeIsUpdated;
|
let codeIsUpdated;
|
||||||
|
|
||||||
style = fixUsoMd5Issue(style);
|
fixUsoMd5Issue(style);
|
||||||
|
|
||||||
return maybeCalcDigest()
|
return maybeCalcDigest()
|
||||||
.then(maybeImportFix)
|
.then(maybeImportFix)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user