feat(xo-server-backup-reports): add plugin version in footer (#23)
This commit is contained in:
parent
98f5db9fbd
commit
4ee0944037
@ -2,6 +2,8 @@ import humanFormat from 'human-format'
|
||||
import moment from 'moment-timezone'
|
||||
import { forEach, startCase } from 'lodash'
|
||||
|
||||
import pkg from '../package'
|
||||
|
||||
export const configurationSchema = {
|
||||
type: 'object',
|
||||
|
||||
@ -237,6 +239,12 @@ class BackupReportsXoPlugin {
|
||||
)
|
||||
}
|
||||
|
||||
markdown.push(
|
||||
'---',
|
||||
'',
|
||||
`*${pkg.name} v${pkg.version}*`
|
||||
)
|
||||
|
||||
markdown = markdown.join('\n')
|
||||
|
||||
const xo = this._xo
|
||||
|
Loading…
Reference in New Issue
Block a user