dashboard-core/theme/dbd-soft-ui/utils/updater/npm.js

10 lines
363 B
JavaScript
Raw Normal View History

2023-06-19 14:21:58 +05:00
const consolePrefix = `${'['.blue}${'dbd-soft-ui'.yellow}${']'.blue} `
2023-06-19 14:24:23 +05:00
function npmDashCheck() {
console.log(`${consolePrefix}${'Your version of discord-dashboard is'.cyan} ${'up-to-date'.green}${'!'.cyan}`);
console.log(`${consolePrefix}${'Your version of dbd-soft-ui is'.cyan} ${'up-to-date'.green}${'!'.cyan}`);
2023-06-19 14:21:58 +05:00
}
2023-06-19 14:24:23 +05:00
exports.update = () => {
npmDashCheck()
2023-06-19 14:21:58 +05:00
}