[ci] npm run format
This commit is contained in:
parent
72ae661e9e
commit
4ccf4196e3
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ const PRISM_IMPORT = `import Prism from 'astro/components/Prism.astro';\n`;
|
|||
const prismImportExp = /import Prism from ['"]astro\/components\/Prism.astro['"]/;
|
||||
|
||||
function escape(code: string) {
|
||||
return code.replace(/[`$]/g, match => {
|
||||
return code.replace(/[`$]/g, (match) => {
|
||||
return '\\' + match;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue