fix(cli): Fix CLI update output box formatting

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

View File

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

View File

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