mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-10-20 05:15:31 +00:00
fix(desktop): satisfy eslint in approvals-command rebase
This commit is contained in:
parent
f9cd577915
commit
2be2464d25
1 changed files with 3 additions and 1 deletions
|
|
@ -940,7 +940,9 @@ describe('usePromptActions slash.exec dispatch payloads', () => {
|
|||
const profile = sessionProfiles.get(sessionId)
|
||||
const command = String(params?.command ?? '')
|
||||
|
||||
if (profile && command === 'approvals off') persistedModes.set(profile, 'off')
|
||||
if (profile && command === 'approvals off') {
|
||||
persistedModes.set(profile, 'off')
|
||||
}
|
||||
|
||||
return { output: 'Approval mode: off (persistent profile setting).' } as never
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue