fix(cli): Fix CLI update output box formatting

This commit is contained in:
Philipp Kunz 2025-03-26 18:13:12 +00:00
parent 4af9af0845
commit 6eb92959ec
3 changed files with 8 additions and 3 deletions

@ -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

@ -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'
}

@ -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) {