Update utils.mjs
This commit is contained in:
@@ -98,7 +98,7 @@
|
|||||||
.replace(/&/g, u["&"] ? "&" : "&")
|
.replace(/&/g, u["&"] ? "&" : "&")
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Chartist */
|
/**Chartist */
|
||||||
export async function chartist() {
|
export async function chartist() {
|
||||||
const css = `<style>${await fs.readFile(paths.join(__module(import.meta.url), "../../../node_modules", "node-chartist/dist/main.css")).catch(_ => "")}</style>`
|
const css = `<style>${await fs.readFile(paths.join(__module(import.meta.url), "../../../node_modules", "node-chartist/dist/main.css")).catch(_ => "")}</style>`
|
||||||
return (await nodechartist(...arguments))
|
return (await nodechartist(...arguments))
|
||||||
|
|||||||
Reference in New Issue
Block a user