Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/src/audit/report-html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export interface RenderHtmlOptions extends BuildModelOptions {

const DEFAULT_ACCENT = "#7c3aed";
const DEFAULT_TITLE = "CI Security Audit";
const DEFAULT_FOOTER = 'Generated by <a href="https://intentius.io/chant/">chant audit</a>.';
const DEFAULT_FOOTER = 'Generated by <a href="https://intentius.io/chant/cli/audit/">chant audit</a>.';

function esc(s: string): string {
return s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/audit/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export function renderMarkdown(findings: AuditFinding[], opts: RenderOptions = {
for (const note of opts.notes ?? []) lines.push(`> Note: ${note}`, "");

if (counts.total === 0) {
lines.push("No issues found.", "", "---", "Generated by [chant audit](https://intentius.io/chant/).", "");
lines.push("No issues found.", "", "---", "Generated by [chant audit](https://intentius.io/chant/cli/audit/).", "");
return lines.join("\n");
}

Expand All @@ -110,6 +110,6 @@ export function renderMarkdown(findings: AuditFinding[], opts: RenderOptions = {
lines.push("</details>", "");
}

lines.push("---", "Generated by [chant audit](https://intentius.io/chant/).", "");
lines.push("---", "Generated by [chant audit](https://intentius.io/chant/cli/audit/).", "");
return lines.join("\n");
}