fix: ensure consistent formatting

This commit is contained in:
Taras Romaniv 2026-03-30 18:01:19 +02:00
parent cd5b5c2a31
commit 75295dd989
1 changed files with 11 additions and 11 deletions

View File

@ -386,9 +386,9 @@ async function runTests() {
assert( assert(
Array.isArray(opencodeInstaller?.legacy_targets) && Array.isArray(opencodeInstaller?.legacy_targets) &&
['.opencode/agents', '.opencode/commands', '.opencode/agent', '.opencode/command'].every((legacyTarget) => ['.opencode/agents', '.opencode/commands', '.opencode/agent', '.opencode/command'].every((legacyTarget) =>
opencodeInstaller.legacy_targets.includes(legacyTarget), opencodeInstaller.legacy_targets.includes(legacyTarget),
), ),
'OpenCode installer cleans split legacy agent and command output', 'OpenCode installer cleans split legacy agent and command output',
); );
@ -1411,8 +1411,8 @@ async function runTests() {
} catch (error) { } catch (error) {
assert(false, 'Pi native skills test succeeds', error.message); assert(false, 'Pi native skills test succeeds', error.message);
} finally { } finally {
if (tempProjectDir28) await fs.remove(tempProjectDir28).catch(() => {}); if (tempProjectDir28) await fs.remove(tempProjectDir28).catch(() => { });
if (installedBmadDir28) await fs.remove(path.dirname(installedBmadDir28)).catch(() => {}); if (installedBmadDir28) await fs.remove(path.dirname(installedBmadDir28)).catch(() => { });
} }
console.log(''); console.log('');
@ -1559,7 +1559,7 @@ async function runTests() {
} catch (error) { } catch (error) {
assert(false, 'Unified skill scanner test succeeds', error.message); assert(false, 'Unified skill scanner test succeeds', error.message);
} finally { } finally {
if (tempFixture29) await fs.remove(tempFixture29).catch(() => {}); if (tempFixture29) await fs.remove(tempFixture29).catch(() => { });
} }
console.log(''); console.log('');
@ -1626,7 +1626,7 @@ async function runTests() {
} catch (error) { } catch (error) {
assert(false, 'parseSkillMd validation test succeeds', error.message); assert(false, 'parseSkillMd validation test succeeds', error.message);
} finally { } finally {
if (tempFixture30) await fs.remove(tempFixture30).catch(() => {}); if (tempFixture30) await fs.remove(tempFixture30).catch(() => { });
} }
console.log(''); console.log('');
@ -1663,8 +1663,8 @@ async function runTests() {
} catch (error) { } catch (error) {
assert(false, 'Skill-format unique count test succeeds', error.message); assert(false, 'Skill-format unique count test succeeds', error.message);
} finally { } finally {
if (collisionProjectDir) await fs.remove(collisionProjectDir).catch(() => {}); if (collisionProjectDir) await fs.remove(collisionProjectDir).catch(() => { });
if (collisionFixtureRoot) await fs.remove(collisionFixtureRoot).catch(() => {}); if (collisionFixtureRoot) await fs.remove(collisionFixtureRoot).catch(() => { });
} }
console.log(''); console.log('');
@ -1754,8 +1754,8 @@ async function runTests() {
} catch (error) { } catch (error) {
assert(false, 'Ona native skills test succeeds', error.message); assert(false, 'Ona native skills test succeeds', error.message);
} finally { } finally {
if (tempProjectDir32) await fs.remove(tempProjectDir32).catch(() => {}); if (tempProjectDir32) await fs.remove(tempProjectDir32).catch(() => { });
if (installedBmadDir32) await fs.remove(path.dirname(installedBmadDir32)).catch(() => {}); if (installedBmadDir32) await fs.remove(path.dirname(installedBmadDir32)).catch(() => { });
} }
console.log(''); console.log('');