diff --git a/src/publishing/mod-publisher.ts b/src/publishing/mod-publisher.ts index 2aab47e..df0d557 100644 --- a/src/publishing/mod-publisher.ts +++ b/src/publishing/mod-publisher.ts @@ -80,7 +80,7 @@ export default abstract class ModPublisher extends PublisherreleaseInfo?.name || version); const changelog = typeof options.changelog === "string" ? options.changelog - : typeof options.changelog?.file === "string" + : options.changelog?.file ? await readChangelog(options.changelog.file) : releaseInfo?.body || "";