@@ -87,7 +87,7 @@ import type { SourceInfo } from "../../core/source-info.ts";
|
||||
import { isInstallTelemetryEnabled } from "../../core/telemetry.ts";
|
||||
import type { TruncationResult } from "../../core/tools/truncate.ts";
|
||||
import { hasProjectConfigDir, hasProjectTrustInputs, ProjectTrustStore } from "../../core/trust-manager.ts";
|
||||
import { getChangelogPath, getNewEntries, parseChangelog } from "../../utils/changelog.ts";
|
||||
import { getChangelogPath, getNewEntries, normalizeChangelogLinks, parseChangelog } from "../../utils/changelog.ts";
|
||||
import { copyToClipboard } from "../../utils/clipboard.ts";
|
||||
import { extensionForImageMimeType, readClipboardImage } from "../../utils/clipboard-image.ts";
|
||||
import { parseGitUrl } from "../../utils/git.ts";
|
||||
@@ -909,7 +909,7 @@ export class InteractiveMode {
|
||||
if (newEntries.length > 0) {
|
||||
this.settingsManager.setLastChangelogVersion(VERSION);
|
||||
this.reportInstallTelemetry(VERSION);
|
||||
return newEntries.map((e) => e.content).join("\n\n");
|
||||
return newEntries.map((e) => normalizeChangelogLinks(e.content, e)).join("\n\n");
|
||||
}
|
||||
|
||||
return undefined;
|
||||
@@ -5380,7 +5380,7 @@ export class InteractiveMode {
|
||||
allEntries.length > 0
|
||||
? allEntries
|
||||
.reverse()
|
||||
.map((e) => e.content)
|
||||
.map((e) => normalizeChangelogLinks(e.content, e))
|
||||
.join("\n\n")
|
||||
: "No changelog entries found.";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user