fmt(js): npm run fix on merge (#95457)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8e9459c97f
commit
c427367938
@@ -17,7 +17,10 @@ import type { SessionInfo } from '@/types/hermes'
|
||||
* row already routes correctly and a `local` tag would only pin it against
|
||||
* the fail-closed owner resolution for no benefit.
|
||||
*/
|
||||
export function stampRowsWithOwningConnection(sessions: SessionInfo[], connectionId: null | string | undefined): SessionInfo[] {
|
||||
export function stampRowsWithOwningConnection(
|
||||
sessions: SessionInfo[],
|
||||
connectionId: null | string | undefined
|
||||
): SessionInfo[] {
|
||||
const owner = String(connectionId ?? '').trim()
|
||||
|
||||
if (!owner || owner === 'local') {
|
||||
|
||||
@@ -737,6 +737,7 @@ describe('project tree profile isolation', () => {
|
||||
projects: [{ id: 'remote-tree', label: 'Remote tree', path: null, repos: [], sessionCount: 0 }],
|
||||
scoped_session_ids: []
|
||||
})
|
||||
|
||||
const gateway = { connectionState: 'open', request }
|
||||
activeGateway.mockReturnValue(gateway as never)
|
||||
gatewayAtom.set(gateway as never)
|
||||
|
||||
Reference in New Issue
Block a user