mirror of
https://github.com/TECHNOFAB11/ergogen.git
synced 2025-12-12 08:00:06 +01:00
Template dependency injection
This commit is contained in:
parent
1da40bce6f
commit
886c22937d
12 changed files with 39 additions and 8 deletions
|
|
@ -1,6 +1,9 @@
|
|||
const m = require('makerjs')
|
||||
const version = require('package.json').version
|
||||
|
||||
module.exports = {
|
||||
convert_outline: () => {},
|
||||
body: params => {
|
||||
return `Custom template override. The secret is ${params.custom.secret}.`
|
||||
return `Custom template override. The secret is ${params.custom.secret}. MakerJS is ${m.version}. Ergogen is ${version}.`
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue