6204-fixturesByEnvironment #2

Merged
jgallego merged 7 commits from 6204-fixturesByEnvironment into master 2023-10-30 06:57:37 +00:00
1 changed files with 5 additions and 21 deletions
Showing only changes of commit b95b593292 - Show all commits

View File

@ -151,21 +151,6 @@ class Push extends Command {
function isUndoScript(script) {
return /\.undo\.sql$/.test(script);
}
function isOtherRealmScript(script, realm) {
const splitScript = script.split('.');
const realmPart = splitScript[splitScript.length - 2];
if (splitScript.length <= 2) {
return false;
}
if (!realm) {
return !!realmPart;
}
return realmPart && realmPart !== realm;
}
const skipFiles = new Set([
'README.md',
@ -235,13 +220,12 @@ class Push extends Command {
continue;
if (match[1]) {
if (skipRealm) {
if (skipRealm)
continue;
}
if (!realm) {
if (!realm)
continue;
}
}
const [[row]] = await conn.query(
`SELECT errorNumber FROM versionLog