From ec4a72a72ea016b325b561b21bdb9261237ad4d2 Mon Sep 17 00:00:00 2001 From: MaxGenash Date: Tue, 23 Feb 2021 18:49:38 +0200 Subject: [PATCH] fix: broken changelog.md after stencil release command --- lib/release/release.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/release/release.js b/lib/release/release.js index 427530a6..252ec6a3 100644 --- a/lib/release/release.js +++ b/lib/release/release.js @@ -84,7 +84,7 @@ async function parseChangelog(version, date) { let changelog = ''; try { - changelog = await fs.promises.readFile(filePath).toString(); + changelog = await fs.promises.readFile(filePath, 'utf8'); } catch (e) { // no CHANGELOG file return null;