2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -580,7 +580,7 @@ metadata.to = {
580
580
if ( name )
581
581
parts . unshift ( ( name === "base" ) ? name : `plugin_${ name } ` )
582
582
return parts . join ( "_" )
583
- }
583
+ } ,
584
584
}
585
585
586
586
//Demo for main and individual readmes
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ export function stripemojis(string) {
165
165
/**Chartist */
166
166
export async function chartist ( ) {
167
167
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" ) ) )
169
169
return ( await nodechartist ( ...arguments ) )
170
170
. replace ( / c l a s s = " c t - c h a r t - l i n e " > / , `class="ct-chart-line">${ css } ` )
171
171
}
0 commit comments