fixes #6204 refactor push just one if
This commit is contained in:
parent
b95b593292
commit
65bd0197de
12
myt-push.js
12
myt-push.js
|
@ -214,19 +214,11 @@ class Push extends Command {
|
|||
continue;
|
||||
}
|
||||
|
||||
const skipRealm = match & match[1] && match[1] !== realm;
|
||||
const skipRealm = match[1] && match[1] !== realm;
|
||||
|
||||
if (isUndoScript(script))
|
||||
if (isUndoScript(script) || skipRealm)
|
||||
continue;
|
||||
|
||||
if (match[1]) {
|
||||
if (skipRealm)
|
||||
continue;
|
||||
|
||||
if (!realm)
|
||||
continue;
|
||||
|
||||
}
|
||||
const [[row]] = await conn.query(
|
||||
`SELECT errorNumber FROM versionLog
|
||||
WHERE code = ?
|
||||
|
|
Loading…
Reference in New Issue