From 6eb92959ec18c0b317b02e1b240212d2cf268790 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 26 Mar 2025 18:13:12 +0000 Subject: [PATCH] fix(cli): Fix CLI update output box formatting --- changelog.md | 5 +++++ ts/00_commitinfo_data.ts | 2 +- ts/cli.ts | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index 5d73090..e3f6300 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2025-03-26 - 2.6.13 - fix(cli) +Fix CLI update output box formatting + +- Adjusted the closing box line in the update process log messages for consistent visual formatting + ## 2025-03-26 - 2.6.12 - fix(systemd) Adjust logging border in systemd service installation output diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 19f4d1e..7dd8a54 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/nupst', - version: '2.6.12', + version: '2.6.13', description: 'Node.js UPS Shutdown Tool for SNMP-enabled UPS devices' } diff --git a/ts/cli.ts b/ts/cli.ts index 315e3a4..747d424 100644 --- a/ts/cli.ts +++ b/ts/cli.ts @@ -471,11 +471,11 @@ Options: } console.log('│ Update completed successfully!'); - console.log('└──────────────────────────────────────────┘'); + console.log('└─────────────────────────────────────────────┘'); } catch (error) { console.error('│ Error during update process:'); console.error(`│ ${error.message}`); - console.error('└──────────────────────────────────────────┘'); + console.error('└─────────────────────────────────────────────┘'); process.exit(1); } } catch (error) {