From 9fe56c6406708118a0b32a016d78c94b814b0301 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Sat, 11 Dec 2021 03:18:04 +0300 Subject: [PATCH] `INPUT_CHANGELOG_FILE` exists for some weird reason --- src/publishing/mod-publisher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 || "";