fix(cli): include source in policy rule display (#17358)

This commit is contained in:
Allen Hutchison
2026-01-22 16:36:44 -08:00
committed by GitHub
parent 678c58634b
commit 1ec172e34b
2 changed files with 5 additions and 2 deletions

View File

@@ -109,7 +109,9 @@ describe('policiesCommand', () => {
expect(content).toContain(
'**DENY** tool: `dangerousTool` [Priority: 10]',
);
expect(content).toContain('**ALLOW** all tools (args match: `safe`)');
expect(content).toContain(
'**ALLOW** all tools (args match: `safe`) [Source: test.toml]',
);
expect(content).toContain('**ASK_USER** all tools');
});
});