style: deno fmt
This commit is contained in:
1 parent
acd47ee987
commit
704b2c489e
2 files changed
+2
-2
No files matched your search
@@ -39,6 +39,6 @@ export async function runStylelint(
|
||||
|
||||
if (result.warnings.length > 0) throw new Error("stylelint error");
|
||||
}
|
||||
|
||||
|
||||
return code;
|
||||
}
|
||||
@@ -72,7 +72,7 @@ let lastLibChecksum = await calculateLibChecksum();
|
||||
|
||||
async function updateTempUserstyle() {
|
||||
let contents = await Deno.readTextFile(userstylePath);
|
||||
/* Appends a query parameter suffix to import URLs from userstyles.catppuccin.com, containing the library modules content checksum. */
|
||||
/* Appends a query parameter suffix to import URLs from userstyles.catppuccin.com, containing the library modules content checksum. */
|
||||
const importRegex =
|
||||
/(@import\s+"https:\/\/userstyles\.catppuccin\.com\/lib\/[^\s]+\.less")/g;
|
||||
contents = contents.replace(importRegex, (match) => {
|
||||
|
||||
Reference in new issue
Block a user