style: align multiline ternary operators

This commit is contained in:
2026-09-28 16:37:01 +03:00
committed by ksv741
parent b78c215ff1
commit 183b7f1efd
54 changed files with 986 additions and 982 deletions
+7 -7
View File
@@ -64,13 +64,13 @@ async function check(name, overrides = {}, signal) {
'user database must be untouched',
);
const expected =
signal === 'SIGINT' ?
130 :
signal === 'SIGTERM' ?
143 :
overrides.PRISMA_SCHEMA_ENGINE_BINARY ?
1 :
0;
signal === 'SIGINT'
? 130
: signal === 'SIGTERM'
? 143
: overrides.PRISMA_SCHEMA_ENGINE_BINARY
? 1
: 0;
assert.equal(code, expected, `See ${name}.log`);
console.log(`PASS ${name}: ${dirs.length} isolated databases`);
}