Update utils.mjs

This commit is contained in:
lowlighter
2021-03-21 13:30:41 +01:00
parent 66ee6cb1be
commit d6b2b0bff7

View File

@@ -98,7 +98,7 @@
.replace(/&/g, u["&"] ? "&" : "&")
}
/** Chartist */
/**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>`
return (await nodechartist(...arguments))