From 2c991200e5ea8d8e027ea6422db8040b040dbc22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Tue, 7 May 2024 20:47:23 +0200 Subject: [PATCH] log loglog --- src/utils.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils.ts b/src/utils.ts index eb3547e..57e9ef9 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -55,8 +55,10 @@ export function readVersionFromFile( let output: string | undefined; try { - output = reader(readFileSync(path, "utf8")); + output = reader(readFileSync(path, "utf8"))?.trim(); + console.log(output); } catch (error) { + console.log(error); const { message } = error as Error; warning(`Failed to read ${file}: ${message}`); } finally {