chore: fix eslint errors introduced across phases 1-3

This commit is contained in:
Gabriel Brown
2026-07-11 13:27:23 -04:00
parent 12b1c98cfc
commit a5bc0434f3
9 changed files with 26 additions and 29 deletions
+2 -1
View File
@@ -37,7 +37,8 @@ export const parseBoxTokenUsername = (token: string): string | null => {
const parts = token.split('.');
if (parts.length !== 4 || parts[1] !== 'box') return null;
const username = parts[2];
return username ? username : null;
if (!username) return null;
return username;
};
// User-scoped variant authorizing a terminal connection to a user's box.