Version 2.2 (new additions)
- Smarter placeholders - Merged placeholders with real templates to avoid maintening duplicates - Moved style/js away from index.html and refactor - Svg size is now computed again from templates - Base metrics is now contained in special plugin "base", which can be disabled part by part if you just want to include a plugin instead - Reformatted a bit terminal template - Test now look templates directory
This commit is contained in:
2
action/dist/index.js
vendored
2
action/dist/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -63,6 +63,14 @@
|
||||
console.debug = () => null
|
||||
console.log(`Debug mode | ${debug}`)
|
||||
|
||||
//Base elements
|
||||
let base = (core.getInput("base")||"").split(",").map(part => part.trim())
|
||||
if (!base.length)
|
||||
base = conf.settings.plugins.base.parts
|
||||
for (const part of base)
|
||||
q[`base.${part}`] = true
|
||||
console.log(`Base elements | ${base.join(", ")}`)
|
||||
|
||||
//Additional plugins
|
||||
const plugins = {
|
||||
lines:{enabled:bool(core.getInput("plugin_lines"))},
|
||||
|
||||
Reference in New Issue
Block a user