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

View File

@ -1,5 +1,10 @@
# Changelog # 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) ## 2025-03-26 - 2.6.12 - fix(systemd)
Adjust logging border in systemd service installation output Adjust logging border in systemd service installation output

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@serve.zone/nupst', name: '@serve.zone/nupst',
version: '2.6.12', version: '2.6.13',
description: 'Node.js UPS Shutdown Tool for SNMP-enabled UPS devices' description: 'Node.js UPS Shutdown Tool for SNMP-enabled UPS devices'
} }

View File

@ -471,11 +471,11 @@ Options:
} }
console.log('│ Update completed successfully!'); console.log('│ Update completed successfully!');
console.log('└──────────────────────────────────────────┘'); console.log('└─────────────────────────────────────────────┘');
} catch (error) { } catch (error) {
console.error('│ Error during update process:'); console.error('│ Error during update process:');
console.error(`${error.message}`); console.error(`${error.message}`);
console.error('└──────────────────────────────────────────┘'); console.error('└─────────────────────────────────────────────┘');
process.exit(1); process.exit(1);
} }
} catch (error) { } catch (error) {