Fix indent
This commit is contained in:
@@ -512,6 +512,8 @@ Below is a list of used packages.
|
||||
* To display server application
|
||||
* [puppeteer/puppeteer](https://github.com/puppeteer/puppeteer)
|
||||
* To scrape the web
|
||||
* [libxmljs/libxmljs](https://github.com/libxmljs/libxmljs)
|
||||
* To test and verify SVG validity
|
||||
* [facebook/jest](https://github.com/facebook/jest) and [nodeca/js-yaml](https://github.com/nodeca/js-yaml)
|
||||
* For unit testing
|
||||
* [marak/faker.js](https://github.com/marak/Faker.js)
|
||||
@@ -522,8 +524,6 @@ Below is a list of used packages.
|
||||
* To parse emojis and replace them by [twemojis](https://github.com/twitter/twemoji)
|
||||
* [jshemas/openGraphScraper](https://github.com/jshemas/openGraphScraper)
|
||||
* To retrieve open graphs metadata
|
||||
* [libxmljs/libxmljs](https://github.com/libxmljs/libxmljs)
|
||||
* To test and verify SVG validity
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
import util from "util"
|
||||
import SVGO from "svgo"
|
||||
|
||||
//Setup
|
||||
export default async function metrics({login, q}, {graphql, rest, plugins, conf, die = false, verify = false, convert = null}, {Plugins, Templates}) {
|
||||
//Compute rendering
|
||||
try {
|
||||
@@ -88,7 +89,7 @@
|
||||
else
|
||||
console.debug(`metrics/compute/${login} > optimize > this feature is currently disabled due to display issues (use --optimize flag in experimental features to force enable it)`)
|
||||
}
|
||||
//Verify SVG
|
||||
//Verify svg
|
||||
if (verify) {
|
||||
console.debug(`metrics/compute/${login} > verify SVG`)
|
||||
const libxmljs = (await import("libxmljs")).default
|
||||
|
||||
Reference in New Issue
Block a user