chore: tighten biome rules further

This commit is contained in:
Peter Steinberger
2025-12-31 19:52:23 +01:00
parent 354bf11471
commit 94de794588
3 changed files with 8 additions and 5 deletions
+3 -3
View File
@@ -688,13 +688,13 @@ program
if (!query) {
const who = await client.getCurrentUser();
const handle = normalizeHandle(who.user?.username);
if (!handle) {
if (handle) {
query = `@${handle}`;
} else {
console.error(
`${p('err')}Could not determine current user (${who.error ?? 'Unknown error'}). Use --user <handle>.`,
);
process.exit(1);
} else {
query = `@${handle}`;
}
}