From 8af61801e604abcfc111d6d900cfa5e2933169df Mon Sep 17 00:00:00 2001 From: Oj Date: Thu, 22 Apr 2021 21:36:22 +0100 Subject: [PATCH] [PCPlugin] Fix improper casing in loadStylesheet replace --- src/preprocessors/pcPlugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preprocessors/pcPlugin.js b/src/preprocessors/pcPlugin.js index 1158301..680ecaf 100644 --- a/src/preprocessors/pcPlugin.js +++ b/src/preprocessors/pcPlugin.js @@ -34,7 +34,7 @@ export default (manifestPath, repo) => { css = css.replace(/\\/g, '\\\\').replace(/\`/g, '\`'); // Escape backticks - return `this.loadStyleSheet(\`${css}\`)`; + return `this.loadStylesheet(\`${css}\`)`; }); const jsCode = `import powercord from '_powercord/global';\n` + content;