Fix: doo many indents
This commit is contained in:
parent
14e321d258
commit
fc53bed3de
|
@ -153,10 +153,8 @@
|
|||
|
||||
function maybeUpdateUsercss() {
|
||||
// TODO: when sourceCode is > 100kB use http range request(s) for version check
|
||||
return download(style.updateUrl)
|
||||
.then(text =>
|
||||
usercss.buildMeta(text)
|
||||
.then(json => {
|
||||
return download(style.updateUrl).then(text =>
|
||||
usercss.buildMeta(text).then(json => {
|
||||
const {usercssData: {version}} = style;
|
||||
const {usercssData: {version: newVersion}} = json;
|
||||
switch (Math.sign(semverCompare(version, newVersion))) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user