ci: fix path bugs on windows (#726)

This commit is contained in:
nullishamy authored and GitHub committed 2024-03-28 16:21:01 -04:00
1 parent e371594944
commit 757445df0a
2 files changed
+9 -1

No files matched your search

+3
View File
@@ -16,6 +16,9 @@ export const verifyMetadata = async (
userstyle: string,
userstyles: Userstyles,
) => {
// `usercss-meta` prohibits any '\r' characters, which seem to be present on Windows.
content = content.replaceAll("\r\n", "\n");
const assert = assertions(userstyle, userstyles);
const file = relative(REPO_ROOT, entry.path);