fix(cli): Fix CLI update output box formatting
This commit is contained in:
parent
4af9af0845
commit
6eb92959ec
@ -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
|
||||||
|
|
||||||
|
@ -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'
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user