Skip to content

Commit ebd3026

Browse files
committedJul 5, 2022
chore: code formatting
1 parent 12d3a14 commit ebd3026

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎source/app/metrics/metadata.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ metadata.to = {
580580
if (name)
581581
parts.unshift((name === "base") ? name : `plugin_${name}`)
582582
return parts.join("_")
583-
}
583+
},
584584
}
585585

586586
//Demo for main and individual readmes

‎source/app/metrics/utils.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export function stripemojis(string) {
165165
/**Chartist */
166166
export async function chartist() {
167167
const css = `<style data-optimizable="true">${await fs.readFile(paths.join(__module(import.meta.url), "../../../node_modules", "node-chartist/dist/main.css")).catch(_ => "")}</style>`
168-
const {default:nodechartist} = await import(url.pathToFileURL(paths.join(__module(import.meta.url), "../../../node_modules", "/node-chartist/lib/index.js")))
168+
const {default: nodechartist} = await import(url.pathToFileURL(paths.join(__module(import.meta.url), "../../../node_modules", "/node-chartist/lib/index.js")))
169169
return (await nodechartist(...arguments))
170170
.replace(/class="ct-chart-line">/, `class="ct-chart-line">${css}`)
171171
}

0 commit comments

Comments
 (0)
Failed to load comments.