You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wiki/server/tasks/simple/check-version.mjs

13 lines
326 B

export async function task (payload) {
WIKI.logger.info('Checking for latest version...')
try {
// TODO: Fetch latest version
WIKI.logger.info('Checked for latest version: [ COMPLETED ]')
} catch (err) {
WIKI.logger.error('Checking for latest version: [ FAILED ]')
WIKI.logger.error(err.message)
}
}